Skip to content

Commit

Permalink
add DLL to test folder for Windows CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Jan 31, 2024
1 parent 121eb31 commit 2df30cf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ jobs:
if: matrix.os != 'windows-latest'
run: sudo cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target install

- name: add DLL to test folder
if: matrix.os == 'windows-latest'
working-directory: ${{ steps.strings.outputs.build-output-dir }}
run: |
cp *apriltag.dll test/
- name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}
run: ctest --build-config ${{ matrix.build_type }} --no-tests=error --output-on-failure --verbose --test-dir test/
run: |
ctest --build-config ${{ matrix.build_type }} --no-tests=error --output-on-failure --verbose --test-dir test/

0 comments on commit 2df30cf

Please sign in to comment.