Skip to content

Commit

Permalink
CI:Cygwin:CMake: Use linux template for building library.
Browse files Browse the repository at this point in the history
cmake --build wasn't working.
  • Loading branch information
DWesl authored Apr 10, 2024
1 parent 6024bc4 commit 197be18
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/run_tests_win_cygwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,16 @@ jobs:

- name: (CMake) Build library and utilities
run: >-
/usr/bin/cmake --config Release --build ${{ matrix.build_dir }}
--verbose -j8 --target ALL_BUILD
cd ${{ matrix.build_dir }} && make -j8
- name: (CMake) Test DESTDIR install
run: |
DESTDIR=/tmp/pretend-root /usr/bin/cmake --build ${{ matrix.build_dir }} --target install
if [ -d "/tmp/pretend-root/$(pwd)" ];
cd ${{ matrix.build_dir }}
DESTDIR=/tmp/pretend-root /usr/bin/cmake --build . --target install
if [ -d "/tmp/pretend-root/$(dirname $(pwd))" ];
then
find /tmp/pretend-root/$(pwd)
if [ $(find /tmp/pretend-root/$(pwd) -type f | wc -l) -gt 0 ]; then exit 1; fi
if [ $(find /tmp/pretend-root/$(dirname $(pwd)) -type f | wc -l) -gt 0 ]; then exit 1; fi
fi
- name: (CMake) Build and run tests
Expand Down

0 comments on commit 197be18

Please sign in to comment.