Skip to content

Commit 91ffb9e

Browse files
committed
Tentative run tests in CI.
1 parent b32b5aa commit 91ffb9e

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,25 +67,25 @@ jobs:
6767
name: usvfs-tests_${{ matrix.arch }}
6868
path: ./test/bin
6969

70+
# merge x86 / x64 artifacts - when running x86 tests, we still need the x64 DLL
7071
merge-artifacts:
7172
runs-on: ubuntu-latest
73+
name: Merge Artifacts for Tests
7274
needs: build
7375
steps:
7476
- name: Merge USVFS libs
7577
uses: actions/upload-artifact/merge@v4
7678
with:
7779
name: usvfs-libs
7880
pattern: usvfs-libs_*
79-
- name: Merge USVFS tests
80-
uses: actions/upload-artifact/merge@v4
81-
with:
82-
name: usvfs-tests
83-
pattern: usvfs-tests_*
8481

8582
test:
8683
name: Test USVFS
8784
needs: merge-artifacts
8885
runs-on: windows-2022
86+
strategy:
87+
matrix:
88+
arch: [x86, x64]
8989
steps:
9090
- uses: actions/checkout@v4
9191
- uses: actions/download-artifact@master
@@ -94,7 +94,12 @@ jobs:
9494
path: ./lib
9595
- uses: actions/download-artifact@master
9696
with:
97-
name: usvfs-tests
97+
name: usvfs-tests_${{ matrix.arch }}
9898
path: ./test/bin
99-
- run: Get-ChildItem lib
100-
- run: Get-ChildItem test/bin
99+
- run: |
100+
./test/bin/shared_test_${{ matrix.arch }}.exe
101+
./test/bin/testinject_bin_${{ matrix.arch }}.exe
102+
./test/bin/thooklib_test_${{ matrix.arch }}.exe
103+
./test/bin/tinjectlib_test_${{ matrix.arch }}.exe
104+
./test/bin/tvfs_test_${{ matrix.arch }}.exe
105+
./test/bin/usvfs_test_runner_${{ matrix.arch }}.exe

0 commit comments

Comments
 (0)