Skip to content

Commit ac96d6e

Browse files
authored
[phast3] Set Ninja Generator
1 parent 3c7d8b9 commit ac96d6e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/cmake-multi-platform.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,17 @@ jobs:
2929
c_compiler: [gcc, clang, cl]
3030
toolchain:
3131
- {compiler: intel-classic, version: '2021.10'}
32+
generator: [Ninja]
3233
include:
3334
- os: windows-latest
3435
c_compiler: cl
3536
cpp_compiler: cl
36-
- os: ubuntu-latest
37-
c_compiler: gcc
38-
cpp_compiler: g++
39-
- os: ubuntu-latest
40-
c_compiler: clang
41-
cpp_compiler: clang++
37+
# - os: ubuntu-latest
38+
# c_compiler: gcc
39+
# cpp_compiler: g++
40+
# - os: ubuntu-latest
41+
# c_compiler: clang
42+
# cpp_compiler: clang++
4243
exclude:
4344
- os: windows-latest
4445
c_compiler: gcc
@@ -68,6 +69,7 @@ jobs:
6869
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
6970
run: >
7071
cmake -B ${{ steps.strings.outputs.build-output-dir }}
72+
-G ${{ matrix.generator }}
7173
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
7274
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
7375
-DCMAKE_Fortran_COMPILER=${{ steps.setup-fortran.outputs.fc }}

0 commit comments

Comments
 (0)