Skip to content

Commit

Permalink
Upgrade cmake to 3.17
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-- committed Jan 15, 2024
1 parent 0b8109e commit cde8a58
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
cmake --build build
tree -sha build
- name: Test
run: ASAN_OPTIONS=detect_leaks=0 LSAN_OPTIONS=verbosity=1:log_threads=1 cmake --build build --target test
run: |
cd build
ASAN_OPTIONS=detect_leaks=0 LSAN_OPTIONS=verbosity=1:log_threads=1 CTEST_OUTPUT_ON_FAILURE=1 ctest -VV --output-on-failure
macos:
runs-on: macos-latest
Expand All @@ -33,7 +35,9 @@ jobs:
cmake --build build
tree -sha build
- name: Test
run: cmake --build build --target test
run: |
cd build
CTEST_OUTPUT_ON_FAILURE=1 ctest -VV --output-on-failure
# freebsd:
# runs-on: macos-latest
Expand Down Expand Up @@ -63,7 +67,7 @@ jobs:
- name: Test
run: |
cd build
ctest -VV -C "Debug"
ctest -VV -C "Debug" --output-on-failure
windows-mingw:
runs-on: "windows-latest"
Expand All @@ -76,4 +80,6 @@ jobs:
cmake --build build
tree /a /f build
- name: Test
run: cmake --build build --target test
run: |
cd build
ctest -VV -C "Debug" --output-on-failure
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.17)

project(zip
LANGUAGES C
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.17)

find_package(Sanitizers)

Expand Down

0 comments on commit cde8a58

Please sign in to comment.