From 9ab2c523302902396fbe7b8e3f6b13739b1e27a4 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Sun, 5 May 2024 09:54:44 -0500 Subject: [PATCH] Pin runners --- .github/workflows/cupcake.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cupcake.yml b/.github/workflows/cupcake.yml index 9a07af5..7b691a3 100644 --- a/.github/workflows/cupcake.yml +++ b/.github/workflows/cupcake.yml @@ -32,6 +32,10 @@ jobs: - shared - static include: + - platform: ubuntu + runner: ubuntu-22.04 + - platform: macos + runner: macos-14 - platform: ubuntu compiler: gcc profile: @@ -60,7 +64,7 @@ jobs: version: 15 cc: /usr/bin/clang cxx: /usr/bin/clang++ - runs-on: ${{ matrix.platform }}-latest + runs-on: ${{ matrix.runner }} steps: - name: install Python uses: actions/setup-python@v5 @@ -104,7 +108,7 @@ jobs: conan profile update conf.tools.build:compiler_executables='{"c": "${{ matrix.profile.cc }}", "cpp": "${{ matrix.profile.cxx }}"}' default conan remote add github https://conan.jfreeman.dev - name: configure Conan on Linux - if: runner.os == 'Linux' + if: runner.os == 'Linux' || matrix.compiler == 'gcc' run: | conan profile update settings.compiler.libcxx=libstdc++11 default - run: cupcake build -G '${{ matrix.generator }}' --flavor ${{ matrix.flavor }} --${{ matrix.linkage }}