Skip to content

Commit

Permalink
Update cmake-win.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrolcl authored Apr 6, 2024
1 parent 914e7e9 commit 702236d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cmake-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,14 @@ jobs:

- name: '${{ matrix.icon }} Build'
# Build your program with the given configuration
run: |
cmake --build build --config ${{env.BUILD_TYPE}}
echo "$GITHUB_WORKSPACE/build/lib" >> $GITHUB_PATH
run: cmake --build build --config ${{env.BUILD_TYPE}}

- name: '${{ matrix.icon }} Test'
working-directory: build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: |
echo "GITHUB_PATH: $GITHUB_PATH"
export PATH=$PWD/lib${PATH:+:}"$PATH"
ctest -C ${{env.BUILD_TYPE}}
- name: '${{ matrix.icon }} Install'
Expand Down

0 comments on commit 702236d

Please sign in to comment.