Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jibsen committed Nov 1, 2023
1 parent d76c691 commit a8bad3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/wideint-ci-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
windows:
name: Windows ${{ matrix.config.name }}
runs-on: windows-latest
runs-on: windows-2022

strategy:
matrix:
Expand All @@ -19,7 +19,7 @@ jobs:
cmake-flags: -A x64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Configure
run: cmake -G "${{ matrix.config.generator }}" ${{ matrix.config.cmake-flags }} -B build
Expand Down Expand Up @@ -51,13 +51,13 @@ jobs:
cmake-flags: -DCMAKE_CXX_FLAGS_DEBUG='-O1 -g -fsanitize=address -fno-omit-frame-pointer'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Configure
run: cmake ${{ matrix.config.cmake-flags }} -DCMAKE_BUILD_TYPE=Debug -B build

- name: Build
run: cd build && make VERBOSE=1
run: cd build && cmake --build . --verbose

- name: Test
run: cd build && ctest -V --output-on-failure --interactive-debug-mode 0
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include(CTest)

if(MSVC)
add_compile_options(/W3)
else()
elseif(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang")
add_compile_options(-Wall -Wextra -pedantic)
endif()

Expand Down

0 comments on commit a8bad3f

Please sign in to comment.