Skip to content

Commit

Permalink
use temporary directory for install
Browse files Browse the repository at this point in the history
  • Loading branch information
wusatosi committed Dec 4, 2024
1 parent 2230b3e commit 7f774ab
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,16 @@ jobs:
run: |
cmake --build build --config Release --verbose
cmake --build build --config Release --target all_verify_interface_header_sets
cmake --install build --config Release --prefix /opt/beman.exemplar
cd /opt/beman.exemplar
tree
cd -
cmake --install build --config Release --prefix ${{ runner.temp }}/beman.exemplar
tree ${{ runner.temp }}/beman.exemplar
- name: Test Release
run: ctest --test-dir build --build-config Release
- name: Build Debug
run: |
cmake --build build --config Debug --verbose
cmake --build build --config Debug --target all_verify_interface_header_sets
cmake --install build --config Debug --prefix /opt/beman.exemplar
tree /opt/beman.exemplar
cmake --install build --config Debug --prefix ${{ runner.temp }}/beman.exemplar
tree ${{ runner.temp }}/beman.exemplar
- name: Test Debug
run: ctest --test-dir build --build-config Debug

Expand Down

0 comments on commit 7f774ab

Please sign in to comment.