Skip to content

Commit

Permalink
[phast3] Set Ninja Generator
Browse files Browse the repository at this point in the history
  • Loading branch information
scharlton2 authored Jun 17, 2024
1 parent 3c7d8b9 commit ac96d6e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,17 @@ jobs:
c_compiler: [gcc, clang, cl]
toolchain:
- {compiler: intel-classic, version: '2021.10'}
generator: [Ninja]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
- os: ubuntu-latest
c_compiler: gcc
cpp_compiler: g++
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang++
# - os: ubuntu-latest
# c_compiler: gcc
# cpp_compiler: g++
# - os: ubuntu-latest
# c_compiler: clang
# cpp_compiler: clang++
exclude:
- os: windows-latest
c_compiler: gcc
Expand Down Expand Up @@ -68,6 +69,7 @@ jobs:
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-G ${{ matrix.generator }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_Fortran_COMPILER=${{ steps.setup-fortran.outputs.fc }}
Expand Down

0 comments on commit ac96d6e

Please sign in to comment.