Skip to content

Commit

Permalink
CI: Add instance for GCC on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz authored and Mark Adler committed Oct 12, 2022
1 parent d4fb7dd commit aefaf43
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit aefaf43

Please sign in to comment.