CI: Add instance for GCC on Windows.

This commit is contained in:
Nathan Moinvaziri 2022-10-10 18:53:41 -07:00 committed by Mark Adler
parent d4fb7dd805
commit aefaf43b28
1 changed files with 10 additions and 0 deletions

View File

@ -43,6 +43,11 @@ jobs:
compiler: cl
cmake-args: -A x64
- name: Windows GCC
os: windows-latest
compiler: gcc
cmake-args: -G Ninja
- name: macOS Clang
os: macos-latest
compiler: clang
@ -55,6 +60,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install packages (Windows)
if: runner.os == 'Windows'
run: |
choco install --no-progress ninja ${{ matrix.packages }}
- name: Generate project files
run: cmake -S ${{ matrix.src-dir || '.' }} -B ${{ matrix.build-dir || '.' }} ${{ matrix.cmake-args }} -D CMAKE_BUILD_TYPE=${{ matrix.build-config || 'Release' }}
env: