Skip to content

Commit

Permalink
ci: update Conan to 2.6.0 + update runners to macos 14/13 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Sep 10, 2024
1 parent 513fcc4 commit 292f11f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.cross.arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.cross.mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 5 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
os:
- windows-2022
- ubuntu-22.04
- macos-12
- macos-13
- macos-14
compiler:
- llvm
- gcc
Expand All @@ -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:
Expand All @@ -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 }}-
Expand All @@ -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() }}
Expand All @@ -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

0 comments on commit 292f11f

Please sign in to comment.