Skip to content

Commit

Permalink
ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
pmqs committed Feb 8, 2024
1 parent e8704db commit 1decfc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/c-std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# value: macos-latest
- name: Windows
value: windows-latest
# cmake-opt: -G Ninja
cmake-opt: -G Ninja

compiler:
- gcc
Expand All @@ -31,7 +31,7 @@ jobs:
tag: amd64
compiler-opt: -m64
cmake-opt: -A x64

- name: 32-bit
tag: i386
compiler-opt: -m32
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
- name: Generate project files (cmake)
if: matrix.builder == 'cmake'
run: |
cmake -S . -B . -D CMAKE_BUILD_TYPE=Release -D ZLIB_BUILD_EXAMPLES=OFF ${{ matrix.arch.cmake-opt }}
cmake -S . -B . -D CMAKE_BUILD_TYPE=Release -D ZLIB_BUILD_EXAMPLES=OFF ${{ matrix.arch.cmake-opt }} ${{ matrix.os.cmake-opt }}
env:
CC: ${{ matrix.compiler }}
CFLAGS: -std=${{ matrix.std.value }} ${{ matrix.arch.compiler-opt }} -Werror
Expand Down

0 comments on commit 1decfc0

Please sign in to comment.