Skip to content

Commit 6b4246c

Browse files
committed
fix: missing core DLL for tests
1 parent f787c7e commit 6b4246c

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/build-windows.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,15 @@ jobs:
3737
- name: Build
3838
run: cmake --build build --config Release --parallel
3939

40+
- name: Add DLL to PATH
41+
if: inputs.run_tests
42+
shell: pwsh
43+
run: echo "$(pwd)/build/redasm/Release" >> $env:GITHUB_PATH
44+
4045
- name: Run tests
4146
if: inputs.run_tests
42-
shell: bash
43-
run: |
44-
echo "$(pwd)/build/redasm/Release" >> $GITHUB_PATH
45-
ctest --test-dir build -C Release --output-on-failure
47+
shell: pwsh
48+
run: ctest --test-dir build -C Release --output-on-failure
4649

4750
- name: Install
4851
run: cmake --install build --prefix redasm-windows-x86_64 --config Release

0 commit comments

Comments
 (0)