From 292f11f894af03219b51b042c8df1263bf0f2837 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Tue, 10 Sep 2024 15:15:13 -0700 Subject: [PATCH] ci: update Conan to 2.6.0 + update runners to macos 14/13 CI --- .github/workflows/ci.cross.arm.yml | 2 +- .github/workflows/ci.cross.mingw.yml | 2 +- .github/workflows/ci.emscripten.yml | 2 +- .github/workflows/ci.yml | 18 +++++------------- 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.cross.arm.yml b/.github/workflows/ci.cross.arm.yml index d7fdbb43..0a8e2ecf 100644 --- a/.github/workflows/ci.cross.arm.yml +++ b/.github/workflows/ci.cross.arm.yml @@ -8,7 +8,7 @@ on: jobs: Test: - if: "!contains(github.event.head_commit.message, '[skip ci]')" + if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} runs-on: ${{ matrix.os }} strategy: fail-fast: false diff --git a/.github/workflows/ci.cross.mingw.yml b/.github/workflows/ci.cross.mingw.yml index da48ef9e..975562cd 100644 --- a/.github/workflows/ci.cross.mingw.yml +++ b/.github/workflows/ci.cross.mingw.yml @@ -8,7 +8,7 @@ on: jobs: Test: - if: "!contains(github.event.head_commit.message, '[skip ci]')" + if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} runs-on: ${{ matrix.os }} strategy: fail-fast: false diff --git a/.github/workflows/ci.emscripten.yml b/.github/workflows/ci.emscripten.yml index 0b739dc9..8c5d7c70 100644 --- a/.github/workflows/ci.emscripten.yml +++ b/.github/workflows/ci.emscripten.yml @@ -8,7 +8,7 @@ on: jobs: Test: - if: "!contains(github.event.head_commit.message, '[skip ci]')" + if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} runs-on: ${{ matrix.os }} strategy: fail-fast: false diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d29e522e..3009c33b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,8 @@ jobs: os: - windows-2022 - ubuntu-22.04 - - macos-12 + - macos-13 + - macos-14 compiler: - llvm - gcc @@ -40,12 +41,6 @@ jobs: - os: "windows-2022" compiler: "msvc" vcvarsall: false - exclude: - # fails with an internal error - - os: "macos-12" - compiler: "gcc" - cmake: true - vcvarsall: true steps: - uses: actions/checkout@v3 with: @@ -60,7 +55,7 @@ jobs: ${{ env.XDG_CACHE_HOME }}/vcpkg/archives ${{ env.LOCALAPPDATA }}\vcpkg\archives ${{ env.APPDATA }}\vcpkg\archives - key: ${{ runner.os }}-${{ matrix.compiler }}-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('./vcpkg.json')}}-${{ matrix.cmake }} + key: ${{ runner.os }}-${{ matrix.compiler }}-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt', './vcpkg.json')}}-${{ matrix.cmake }} restore-keys: | ${{ runner.os }}-${{ env.BUILD_TYPE }}- @@ -72,11 +67,11 @@ jobs: cmake: ${{ matrix.cmake }} ninja: true vcpkg: true - conan: 2.1.0 + conan: 2.6.0 cppcheck: true clangtidy: true task: true - doxygen: ${{ !contains(matrix.os, 'macos-11') && !contains(matrix.os, 'macos-13') }} + doxygen: true - name: Test if: ${{ !cancelled() }} @@ -86,9 +81,6 @@ jobs: CMAKE_GENERATOR: ${{ matrix.cmake_generator }} - name: Lint - if: ${{ !cancelled() && matrix.os == 'ubuntu-20.04' && matrix.compiler == 'gcc' }} run: | - # TODO add to setup-cpp python3 -m pip install --user cmakelint cmake-format - task lint