From fae76957f6bf21ac8495169d8c297b338dd14e48 Mon Sep 17 00:00:00 2001 From: Dominik Berner Date: Sat, 20 Apr 2024 09:29:14 +0000 Subject: [PATCH] Update CI to newest version --- .devcontainer/devcontainer.json | 1 + .github/workflows/ci.yml | 6 +++--- .github/workflows/coverage.yml | 4 ++-- .github/workflows/cross-compiling.yml | 6 +++--- .github/workflows/sanitizers.yml | 4 ++-- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8b77bbe..3f9c5fa 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,6 +10,7 @@ "cheshirekow.cmake-format", "eamodio.gitlens", "xaver.clang-format", + "github.vscode-github-actions" ], "remoteEnv": { "DISPLAY": ":0" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57518cc..c5b8cd0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,12 +18,12 @@ jobs: [ubuntu-gcc-10, ubuntu-clang-12, macos-appleclang-12, windows-msvc-19, windows-clang] include: - name: ubuntu-gcc-10 - os: ubuntu-20.04 + os: ubuntu-22.0 compiler: g++-10 configurePreset: ci-ninja-debug - name: ubuntu-clang-12 - os: ubuntu-20.04 + os: ubuntu-22.0 compiler: clang++-12 configurePreset: ci-ninja-debug @@ -52,7 +52,7 @@ jobs: - name: install-python-deps run: | python3 -m pip install --upgrade pip - pip3 install pytest pytest-depends conan==1.44 cpplint + pip3 install pytest pytest-depends conan cpplint - name: set-compiler-env run: | diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c010c4f..16f19f8 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -9,7 +9,7 @@ on: jobs: linux-coverage: name: linux-coverage - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.0 steps: - uses: actions/checkout@v1 @@ -21,7 +21,7 @@ jobs: - name: install-python-deps run: | python3 -m pip install --upgrade pip - pip3 install conan==1.44 + pip3 install conan - name: dependencies (debian-like) run: | diff --git a/.github/workflows/cross-compiling.yml b/.github/workflows/cross-compiling.yml index 7b713bc..7c507e3 100644 --- a/.github/workflows/cross-compiling.yml +++ b/.github/workflows/cross-compiling.yml @@ -9,7 +9,7 @@ on: jobs: ios: name: ios - runs-on: macos-10.15 + runs-on: macos-14 steps: - uses: actions/checkout@v1 @@ -27,7 +27,7 @@ jobs: android: name: android - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: nttld/setup-ndk@v1 id: setup-ndk @@ -52,7 +52,7 @@ jobs: working-directory: ./chapter12/android-example/ arm: name: arm-crosscompiling - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.0 steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index 15f1341..d5cf134 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -9,7 +9,7 @@ on: jobs: linux-sanitizers: name: linux-sanitizers - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.0 steps: - uses: actions/checkout@v1 @@ -26,7 +26,7 @@ jobs: - name: install-python-deps run: | python3 -m pip install --upgrade pip - pip3 install conan==1.44 + pip3 install - name: cmake-configure run: |