Skip to content

Commit

Permalink
Merge pull request #2 from lackhole/appleclang
Browse files Browse the repository at this point in the history
Update cmake-multi-platform.yml
  • Loading branch information
lackhole authored Jun 14, 2024
2 parents cddae1d + e05de40 commit c3698ab
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,46 @@ jobs:
#
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-12, macos-latest]
build_type: [Debug, Release]
c_compiler: [gcc, clang, cl]
include:
# Windows: cl
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
# Ubuntu: gcc, clang
- os: ubuntu-latest
c_compiler: gcc
cpp_compiler: g++
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang++
# macOS: clang(Apple clang)
- os: macos-12
c_compiler: clang
cpp_compiler: clang++
- os: macos-latest
c_compiler: clang
cpp_compiler: clang++
exclude:
# Exclude on Windows: gcc, clang
- os: windows-latest
c_compiler: gcc
- os: windows-latest
c_compiler: clang
# Exclude on Ubuntu: cl
- os: ubuntu-latest
c_compiler: cl
# Exclude on macOS: cl, gcc
- os: macos-12
c_compiler: cl
- os: macos-12
c_compiler: gcc
- os: macos-latest
c_compiler: cl
- os: macos-latest
c_compiler: gcc

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit c3698ab

Please sign in to comment.