summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2022-10-10 18:53:41 -0700
committerMark Adler <fork@madler.net>2022-10-11 20:21:50 -0700
commitaefaf43b28da2fb7ebcd01db3613c29f030c6e65 (patch)
tree5a50e9fb4ebda48c79f98267b2eb6475f4c6d708
parentd4fb7dd805c964844d45befed65e3ae086d20166 (diff)
downloadzlib-aefaf43b28da2fb7ebcd01db3613c29f030c6e65.tar.gz
zlib-aefaf43b28da2fb7ebcd01db3613c29f030c6e65.tar.bz2
zlib-aefaf43b28da2fb7ebcd01db3613c29f030c6e65.zip
CI: Add instance for GCC on Windows.
-rw-r--r--.github/workflows/cmake.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 35f7377..64aa12c 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -43,6 +43,11 @@ jobs:
43 compiler: cl 43 compiler: cl
44 cmake-args: -A x64 44 cmake-args: -A x64
45 45
46 - name: Windows GCC
47 os: windows-latest
48 compiler: gcc
49 cmake-args: -G Ninja
50
46 - name: macOS Clang 51 - name: macOS Clang
47 os: macos-latest 52 os: macos-latest
48 compiler: clang 53 compiler: clang
@@ -55,6 +60,11 @@ jobs:
55 - name: Checkout repository 60 - name: Checkout repository
56 uses: actions/checkout@v3 61 uses: actions/checkout@v3
57 62
63 - name: Install packages (Windows)
64 if: runner.os == 'Windows'
65 run: |
66 choco install --no-progress ninja ${{ matrix.packages }}
67
58 - name: Generate project files 68 - name: Generate project files
59 run: cmake -S ${{ matrix.src-dir || '.' }} -B ${{ matrix.build-dir || '.' }} ${{ matrix.cmake-args }} -D CMAKE_BUILD_TYPE=${{ matrix.build-config || 'Release' }} 69 run: cmake -S ${{ matrix.src-dir || '.' }} -B ${{ matrix.build-dir || '.' }} ${{ matrix.cmake-args }} -D CMAKE_BUILD_TYPE=${{ matrix.build-config || 'Release' }}
60 env: 70 env: