From f91f522e712387cf135f57c0151e2303b9f7babc Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Fri, 14 Jun 2024 09:30:55 +0100 Subject: [PATCH] runners - use explicit versioning + remove macos-13 --- .github/workflows/build_and_test.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 45217e4a9..c9aa76000 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -15,7 +15,7 @@ env: jobs: checkSource: name: Check Source Code - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -35,20 +35,17 @@ jobs: fail-fast: false matrix: os: - - macos-13 - macos-14 - - ubuntu-latest - - windows-2019 + - ubuntu-24.04 + - windows-2022 cxx-standard: - 17 include: - - os: macos-13 - mono: mono - os: macos-14 mono: mono - - os: ubuntu-latest + - os: ubuntu-24.04 mono: mono - - os: windows-2019 + - os: windows-2022 runs-on: ${{ matrix.os }} @@ -88,7 +85,7 @@ jobs: run: | LC_RUNNER_OS=$(echo "${RUNNER_OS}" | perl -ne "print lc") if [ "${RUNNER_OS}" == "macOS" ]; then - MACOS_ARCH=${{ (matrix.os == 'macos-14' || matrix.os == 'macos-latest') && 'arm64' || 'x64' }} + MACOS_ARCH=${{ matrix.os == 'macos-14' && 'arm64' || 'x64' }} echo "PRESET=${LC_RUNNER_OS}-ci-${MACOS_ARCH}" >> ${GITHUB_ENV} else echo "PRESET=${LC_RUNNER_OS}-ci" >> ${GITHUB_ENV}