Skip to content

Commit

Permalink
Refine GitHub Actions CI workflow for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Dec 5, 2024
1 parent eae61f4 commit 580e09b
Showing 1 changed file with 78 additions and 97 deletions.
175 changes: 78 additions & 97 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,16 @@ jobs:
compiler: gcc-9
- os: ubuntu-20.04
compiler: gcc-10
# Setup fails
- os: ubuntu-20.04
compiler: gcc-11
# Setup fails
- os: ubuntu-20.04
compiler: gcc-12
# - os: ubuntu-20.04
# compiler: gcc-12
- os: ubuntu-20.04
compiler: gcc-13
# Too new
- os: ubuntu-20.04
compiler: gcc-14
# Setup fails
# - os: ubuntu-20.04
# compiler: gcc-14
- os: ubuntu-20.04
compiler: llvm-6
- os: ubuntu-20.04
Expand All @@ -135,12 +134,10 @@ jobs:
compiler: llvm-14
- os: ubuntu-20.04
compiler: llvm-15
# Setup fails
- os: ubuntu-20.04
compiler: llvm-16
- os: ubuntu-20.04
compiler: llvm-17
# Setup fails
- os: ubuntu-20.04
compiler: llvm-18
- os: ubuntu-20.04
Expand All @@ -166,8 +163,8 @@ jobs:
- os: ubuntu-22.04
compiler: gcc-13
# Setup fails
- os: ubuntu-22.04
compiler: gcc-14
# - os: ubuntu-22.04
# compiler: gcc-14
- os: ubuntu-22.04
compiler: llvm-6
- os: ubuntu-22.04
Expand All @@ -194,10 +191,10 @@ jobs:
- os: ubuntu-22.04
compiler: llvm-17
# Setup fails
- os: ubuntu-22.04
compiler: llvm-18
- os: ubuntu-22.04
compiler: llvm-19
# - os: ubuntu-22.04
# compiler: llvm-18
# - os: ubuntu-22.04
# compiler: llvm-19

# -------------------------------
# Ubuntu 24.04
Expand All @@ -221,39 +218,28 @@ jobs:
- os: ubuntu-24.04
compiler: gcc-14
# Setup fails
- os: ubuntu-24.04
compiler: llvm-6
# Setup fails
- os: ubuntu-24.04
compiler: llvm-7
# Setup fails
- os: ubuntu-24.04
compiler: llvm-8
# Setup fails
- os: ubuntu-24.04
compiler: llvm-9
# Setup fails
- os: ubuntu-24.04
compiler: llvm-10
# Setup fails
- os: ubuntu-24.04
compiler: llvm-11
# Setup fails
- os: ubuntu-24.04
compiler: llvm-12
# Setup fails
- os: ubuntu-24.04
compiler: llvm-13
# Setup fails
- os: ubuntu-24.04
compiler: llvm-14
# Setup fails
- os: ubuntu-24.04
compiler: llvm-15
# Setup fails
- os: ubuntu-24.04
compiler: llvm-16
# Setup fails
# - os: ubuntu-24.04
# compiler: llvm-6
# - os: ubuntu-24.04
# compiler: llvm-7
# - os: ubuntu-24.04
# compiler: llvm-8
# - os: ubuntu-24.04
# compiler: llvm-9
# - os: ubuntu-24.04
# compiler: llvm-10
# - os: ubuntu-24.04
# compiler: llvm-11
# - os: ubuntu-24.04
# compiler: llvm-12
# - os: ubuntu-24.04
# compiler: llvm-13
# - os: ubuntu-24.04
# compiler: llvm-14
# - os: ubuntu-24.04
# compiler: llvm-15
# - os: ubuntu-24.04
# compiler: llvm-16
- os: ubuntu-24.04
compiler: llvm-17
- os: ubuntu-24.04
Expand All @@ -270,8 +256,8 @@ jobs:
# compiler: gcc-7
# - os: macos-13
# compiler: gcc-8
- os: macos-13
compiler: gcc-9
# - os: macos-13
# compiler: gcc-9
- os: macos-13
compiler: gcc-10
- os: macos-13
Expand All @@ -284,41 +270,36 @@ jobs:
- os: macos-13
compiler: gcc-14
# Setup fails
- os: macos-13
compiler: llvm-6
# Setup fails
- os: macos-13
compiler: llvm-7
# Setup fails
- os: macos-13
compiler: llvm-8
# Setup fails
- os: macos-13
compiler: llvm-9
# - os: macos-13
# compiler: llvm-6
# - os: macos-13
# compiler: llvm-7
# - os: macos-13
# compiler: llvm-8
# - os: macos-13
# compiler: llvm-9
# Weird compiler errors
# - os: macos-13
# compiler: llvm-10
# - os: macos-13
# compiler: llvm-11
- os: macos-13
compiler: llvm-12
# - os: macos-13
# compiler: llvm-12
- os: macos-13
compiler: llvm-13
- os: macos-13
compiler: llvm-14
- os: macos-13
compiler: llvm-15
# Setup fails
- os: macos-13
compiler: llvm-16
# Setup fails
- os: macos-13
compiler: llvm-17
# Setup fails
- os: macos-13
compiler: llvm-18
- os: macos-13
compiler: llvm-19
# - os: macos-13
# compiler: llvm-16
# - os: macos-13
# compiler: llvm-17
# - os: macos-13
# compiler: llvm-18
# - os: macos-13
# compiler: llvm-19

# -------------------------------
# MacOS 14
Expand Down Expand Up @@ -373,49 +354,49 @@ jobs:
# MacOS 15
# -------------------------------

- os: macos-14
- os: macos-15
compiler: gcc-7
- os: macos-14
- os: macos-15
compiler: gcc-8
- os: macos-14
- os: macos-15
compiler: gcc-9
- os: macos-14
- os: macos-15
compiler: gcc-10
- os: macos-14
- os: macos-15
compiler: gcc-11
- os: macos-14
- os: macos-15
compiler: gcc-12
- os: macos-14
- os: macos-15
compiler: gcc-13
- os: macos-14
- os: macos-15
compiler: gcc-14
- os: macos-14
- os: macos-15
compiler: llvm-6
- os: macos-14
- os: macos-15
compiler: llvm-7
- os: macos-14
- os: macos-15
compiler: llvm-8
- os: macos-14
- os: macos-15
compiler: llvm-9
- os: macos-14
- os: macos-15
compiler: llvm-10
- os: macos-14
- os: macos-15
compiler: llvm-11
- os: macos-14
- os: macos-15
compiler: llvm-12
- os: macos-14
- os: macos-15
compiler: llvm-13
- os: macos-14
- os: macos-15
compiler: llvm-14
- os: macos-14
- os: macos-15
compiler: llvm-15
- os: macos-14
- os: macos-15
compiler: llvm-16
- os: macos-14
- os: macos-15
compiler: llvm-17
- os: macos-14
- os: macos-15
compiler: llvm-18
- os: macos-14
- os: macos-15
compiler: llvm-19

# -------------------------------
Expand Down Expand Up @@ -482,12 +463,12 @@ jobs:
# AppleClang
# -------------------------------

- os: macos-12
compiler: apple
- os: macos-13
compiler: apple
- os: macos-14
compiler: apple
- os: macos-15
compiler: apple

# ==========================================================================
# Steps
Expand All @@ -503,7 +484,7 @@ jobs:

- name: Setup C++
# Reference: https://github.com/marketplace/actions/setup-cpp-c-c
uses: aminya/setup-cpp@v0.37.0
uses: aminya/setup-cpp@v0.44.0
if: ${{ matrix.compiler != 'apple' && matrix.os != 'macos-latest' }}
with:
compiler: ${{ matrix.compiler }}
Expand Down

0 comments on commit 580e09b

Please sign in to comment.