CI: Add instance for GCC on Windows.
This commit is contained in:
parent
d4fb7dd805
commit
aefaf43b28
10
.github/workflows/cmake.yml
vendored
10
.github/workflows/cmake.yml
vendored
@ -43,6 +43,11 @@ jobs:
|
|||||||
compiler: cl
|
compiler: cl
|
||||||
cmake-args: -A x64
|
cmake-args: -A x64
|
||||||
|
|
||||||
|
- name: Windows GCC
|
||||||
|
os: windows-latest
|
||||||
|
compiler: gcc
|
||||||
|
cmake-args: -G Ninja
|
||||||
|
|
||||||
- name: macOS Clang
|
- name: macOS Clang
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
compiler: clang
|
compiler: clang
|
||||||
@ -55,6 +60,11 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install packages (Windows)
|
||||||
|
if: runner.os == 'Windows'
|
||||||
|
run: |
|
||||||
|
choco install --no-progress ninja ${{ matrix.packages }}
|
||||||
|
|
||||||
- name: Generate project files
|
- 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' }}
|
run: cmake -S ${{ matrix.src-dir || '.' }} -B ${{ matrix.build-dir || '.' }} ${{ matrix.cmake-args }} -D CMAKE_BUILD_TYPE=${{ matrix.build-config || 'Release' }}
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user