Skip to content

Commit

Permalink
CI: test in build_type dir
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-hld authored Feb 6, 2024
1 parent 296dffa commit 56b9936
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@ jobs:
run: cmake --build . --config $BUILD_TYPE

- name: Test (Unix)
if: ${{ contains( runner.os, 'Linux' ) || contains( runner.os, 'macOS' )}}
working-directory: ${{runner.workspace}}/build
shell: bash
if: ${{ contains( runner.os, 'Linux' ) || contains( runner.os, 'macOS' )}}
# Execute tests
run: ./test/saf_test

- name: Test (Windows)
working-directory: ${{runner.workspace}}/build
shell: bash
if: ${{ contains( runner.os, 'Windows' ) }}
working-directory: ${{runner.workspace}}/build/$BUILD_TYPE
shell: bash
run: |
ls -lh ./test/$BUILD_TYPE/
./test/$BUILD_TYPE/saf_test.exe
ls -lh
./saf_test.exe

0 comments on commit 56b9936

Please sign in to comment.