Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flagarde committed Jul 18, 2024
1 parent 79656dd commit 4bf5225
Showing 1 changed file with 54 additions and 4 deletions.
58 changes: 54 additions & 4 deletions .github/workflows/Macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ concurrency:
cancel-in-progress: true

jobs:
macos-12:
runs-on: macos-12
xcode:
runs-on: macos-14
strategy:
fail-fast: false
matrix:
xcode: ['13.1', 13.2.1, 13.3.1, 13.4.1]
xcode: [14.3.1, 15.0.1, 15.1, 15.2, 15.3, 15.4, 16.0]
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer

Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
build_config: Debug

gcc:
runs-on: macos-12
runs-on: macos-14
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -108,3 +108,53 @@ jobs:
id: test
with:
build_config: Debug

clang:
runs-on: macos-14
strategy:
fail-fast: false
matrix:
version: [12, 13, 14, 15, 16, 17]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: 📂 Load .env file
if: hashFiles('.github/workflows/.env') != ''
uses: xom9ikk/dotenv@v2
with:
path: .github/workflows

- name: ⬇️ Setup CMake
uses: lukka/get-cmake@latest
with:
cmakeVersion: ^3
ninjaVersion: ^1

- name: ⬇️ Setup Clang
run: brew install llvm@${{matrix.version}}

- name: ⚙️ run-cmake (configure)
env:
CC: clang-${{matrix.version}}
CXX: clang++-${{matrix.version}}
uses: cmake-tools/run-cmake@v0-alpha
id: 'configure'
with:
mode: configure
generator: 'Ninja'
install_prefix: '../install'
binary_dir: '../build'

- name: 🛠️ run-cmake (build)
uses: cmake-tools/run-cmake@v0-alpha
id: build
with:
mode: build

- name: 🧪 run-ctest
uses: cmake-tools/run-ctest@v0-alpha
id: test
with:
build_config: Debug

0 comments on commit 4bf5225

Please sign in to comment.