Update 1 package #502
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check-for-missing-dlls | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
LC_CTYPE: C.UTF-8 | |
GIT_CONFIG_PARAMETERS: "'checkout.workers=56'" | |
INCLUDE_OBJDUMP: t | |
jobs: | |
check: | |
if: github.event.repository.fork == false | |
runs-on: windows-latest | |
steps: | |
- name: clone git-sdk-32 | |
shell: bash | |
run: | | |
# cannot use `git clone` directly, to allow for PR's refs to be fetched | |
git init --bare -b ${REF#refs/heads/} git-sdk-32.git && | |
git -C git-sdk-32.git remote add origin https://github.com/${{github.repository}} && | |
git -C git-sdk-32.git config remote.origin.promisor true && | |
git -C git-sdk-32.git config remote.origin.partialCloneFilter blob:none && | |
git -C git-sdk-32.git fetch --depth=1 origin $REF:refs/heads/${REF#refs/heads/} | |
env: | |
REF: ${{github.ref}} | |
- name: clone build-extra | |
run: git clone --depth=1 --single-branch -b main https://github.com/git-for-windows/build-extra | |
- name: create build-installers artifact | |
shell: bash | |
run: | | |
sh -x ./build-extra/please.sh create-sdk-artifact --sdk=git-sdk-32.git build-installers && | |
cygpath -aw "$PWD/build-installers/usr/bin/core_perl" >>$GITHUB_PATH && | |
cygpath -aw "$PWD/build-installers/usr/bin" >>$GITHUB_PATH && | |
cygpath -aw "$PWD/build-installers/mingw32/bin" >>$GITHUB_PATH | |
- name: check for missing DLLs | |
shell: bash | |
run: ./build-extra/check-for-missing-dlls.sh | |
- name: check for missing DLLs (MinGit) | |
shell: bash | |
run: MINIMAL_GIT=1 ./build-extra/check-for-missing-dlls.sh |