Skip to content

Commit

Permalink
Fixed exec tirectory on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bialger committed Feb 13, 2024
1 parent 2091601 commit f21f2dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,23 +75,25 @@ jobs:
- name: Run program
shell: bash
working-directory: ./cmake-build-release/bin
working-directory: ./cmake-build-release
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
cd Debug
./cpp_tests.exe --help
else
cd bin
./cpp_tests --help
fi
- name: Run tests
shell: bash
working-directory: ./cmake-build-debug/tests
working-directory: ./cmake-build-debug
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
cd Debug
./cpp_tests_tests.exe
else
cd tests
./cpp_tests_tests
fi
Expand Down

0 comments on commit f21f2dc

Please sign in to comment.