Skip to content

Commit

Permalink
inlcu
Browse files Browse the repository at this point in the history
  • Loading branch information
mradugin authored Jul 13, 2024
1 parent 832c436 commit dad5d31
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
# - os: windows-2019
# c_compiler: cl
# cpp_compiler: cl
os: [ubuntu-latest, windows-latest, macos-latest]
build_type: [Debug]
c_compiler: [gcc, clang, cl]
generator: [Ninja, Visual Studio 2022, Unix Makefiles, Xcode]
#os: [ubuntu-latest, windows-latest, macos-latest]
#build_type: [Debug]
#c_compiler: [gcc, clang, cl]
#generator: [Ninja, Visual Studio 2022, Unix Makefiles, Xcode]
include:
- os: windows-latest
c_compiler: cl
Expand Down Expand Up @@ -60,17 +60,6 @@ jobs:
c_compiler: clang
cpp_compiler: clang++
generator: Xcode
exclude:
- os: windows-latest
c_compiler: gcc
- os: windows-latest
c_compiler: clang
- os: ubuntu-latest
c_compiler: cl
- os: macos-latest
c_compiler: gcc
- os: macos-latest
c_compiler: cl
steps:
- uses: actions/checkout@v4

Expand All @@ -94,7 +83,7 @@ jobs:
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: |
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -S "${{ steps.strings.outputs.source-dir }}" -B "${{ steps.strings.outputs.build-output-dir }}"
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -S "${{ steps.strings.outputs.source-dir }}" -B "${{ steps.strings.outputs.build-output-dir }}" -G "${{matrix.generator}}"
- name: Build1
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
Expand Down

0 comments on commit dad5d31

Please sign in to comment.