Skip to content

Commit

Permalink
macos ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chistopher committed Dec 4, 2023
1 parent 16b6b37 commit bc8901d
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,8 @@ jobs:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable.
fail-fast: false

# Set up a matrix to run the following 3 configurations:
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
# 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator>
# 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator>
#
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
os: [ubuntu-latest, windows-latest]
build_type: [Release, Debug]
c_compiler: [gcc, clang, cl]
include:
- os: windows-latest
c_compiler: cl
Expand All @@ -36,13 +28,9 @@ jobs:
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang++
exclude:
- os: windows-latest
c_compiler: gcc
- os: windows-latest
c_compiler: clang
- os: ubuntu-latest
c_compiler: cl
- os: macos-latest
c_compiler: cc
cpp_compiler: c++

steps:
- uses: actions/checkout@v3
Expand All @@ -51,6 +39,10 @@ jobs:
name: install OpenMP
run: sudo apt-get install -y libomp-dev

- if: matrix.os == 'macos-latest'
name: install OpenMP
run: brew install libomp

- name: Configure CMake
run: >
cmake -B build
Expand Down

0 comments on commit bc8901d

Please sign in to comment.