From b813f9dd18e9deaa50a9e3161daf2af853379447 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 11 May 2022 07:43:35 +0200 Subject: [PATCH] :construction_worker: add more macOS builders --- .github/workflows/macos.yml | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 03c652a81..2d77e4c64 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -10,7 +10,7 @@ on: workflow_dispatch: jobs: - xcode: + xcode_1: runs-on: macos-10.15 strategy: matrix: @@ -27,6 +27,40 @@ jobs: - name: test run: cd build ; ctest -j 10 --output-on-failure + xcode_2: + runs-on: macos-11 + strategy: + matrix: + xcode: [13.2.1, 13.2, 13.1, 13.0, 12.5.1] + env: + DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer + + steps: + - uses: actions/checkout@v3 + - name: cmake + run: cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On -DJSON_FastTests=ON + - name: build + run: cmake --build build --parallel 10 + - name: test + run: cd build ; ctest -j 10 --output-on-failure + + xcode_3: + runs-on: macos-12 + strategy: + matrix: + xcode: [13.3.1, 13.3] + env: + DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer + + steps: + - uses: actions/checkout@v3 + - name: cmake + run: cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On -DJSON_FastTests=ON + - name: build + run: cmake --build build --parallel 10 + - name: test + run: cd build ; ctest -j 10 --output-on-failure + xcode_standards: runs-on: macos-10.15 strategy: