Skip to content

Commit

Permalink
fixup! ci: add a workflow to test custom MSYS2 runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
dscho committed Sep 25, 2024
1 parent 7027afd commit a5b3edb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-msys2-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ jobs:
shell: bash
run: |
mkdir -p minimal-sdk &&
tar -C minimal-sdk -xzf git-sdk-x86_64-minimal.tar.gz &&
minimal-sdk/init.sh
tar -C minimal-sdk -xzf git-sdk-x86_64-minimal.tar.gz
- name: download git artifacts
uses: actions/download-artifact@v4
with:
Expand All @@ -126,6 +125,7 @@ jobs:
shell: bash
run: |
set -x
. /etc/profile
test "$(cygpath -aw /)" = "${{github.workspace}}\minimal-sdk" || exit 1
cd "$GIT_ARTIFACTS_EXTRACT_LOCATION"/git/t &&
make T="$(ls -S t[0-9]*.sh | awk '!((NR+${{matrix.nr}})%17)' | tr '\n' \ )" prove || {
Expand Down Expand Up @@ -157,14 +157,14 @@ jobs:
shell: bash
run: |
mkdir -p minimal-sdk &&
tar -C minimal-sdk -xzf git-sdk-x86_64-minimal.tar.gz &&
minimal-sdk/init.sh
tar -C minimal-sdk -xzf git-sdk-x86_64-minimal.tar.gz
- name: run some tests
shell: bash
env:
PATH: ${{github.workspace}}\minimal-sdk\mingw64\bin;${{github.workspace}}\minimal-sdk\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem
run: |
set -x
. /etc/profile
# cygpath works
test "$(cygpath -aw /)" = "${{github.workspace}}\minimal-sdk" || exit 1
Expand Down

0 comments on commit a5b3edb

Please sign in to comment.