diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index d7eb6dd14..c84a36540 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -7,28 +7,29 @@ permissions: jobs: - #xcode_11: - # strategy: - # fail-fast: false - # matrix: - # xcode: ['11','12','13'] - # runs-on: macos-11 - # - # steps: - # - uses: actions/checkout@v3 - # with: - # submodules: recursive - # - uses: maxim-lobanov/setup-xcode@v1 - # with: - # xcode-version: ${{ matrix.xcode }} - # - name: cmake - # run: cmake -S . -B build -DJSONCONS_SANITIZE=ON -DCMAKE_BUILD_TYPE=Debug -DJSONCONS_BUILD_TESTS=On - # - name: build - # working-directory: build/ - # run: cmake --build . - # - name: test - # working-directory: build/ - # run: ctest --output-on-failure + xcode_11: + strategy: + fail-fast: false + matrix: + xcode: ['11','12','13'] + runs-on: macos-11 + + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: ${{ matrix.xcode }} + - name: cmake + run: cmake -S . -B build -DJSONCONS_SANITIZE=ON -DCMAKE_BUILD_TYPE=Debug -DJSONCONS_BUILD_TESTS=On + - name: build + working-directory: build/ + run: cmake --build . + - name: test + working-directory: build/ + run: ctest --output-on-failure + xcode_12: strategy: @@ -38,7 +39,7 @@ jobs: runs-on: macos-12 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - uses: maxim-lobanov/setup-xcode@v1 diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 139bc127b..56358218e 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -21,7 +21,7 @@ jobs: CXX: ${{ matrix.compiler }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: cmake run: cmake -S . -B build -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DJSONCONS_BUILD_TESTS=On @@ -169,7 +169,7 @@ jobs: compiler: ['8','9','10','11','12','latest'] container: gcc:${{ matrix.compiler }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get latest CMake and ninja uses: lukka/get-cmake@v3.30.0 - name: cmake @@ -188,7 +188,7 @@ jobs: compiler: ['12','latest'] container: gcc:${{ matrix.compiler }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get latest CMake and ninja uses: lukka/get-cmake@v3.30.0 - name: cmake @@ -209,7 +209,7 @@ jobs: steps: - name: Install unzip and git run: apt-get update ; apt-get install -y unzip git - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get latest CMake and ninja uses: lukka/get-cmake@v3.30.0 - name: cmake @@ -230,7 +230,7 @@ jobs: steps: - name: Install unzip and git run: apt-get update ; apt-get install -y unzip git - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get latest CMake and ninja uses: lukka/get-cmake@v3.30.0 - name: cmake