Skip to content

Commit

Permalink
Pin runners
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnfreeman committed May 5, 2024
1 parent cf904fe commit 9ab2c52
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cupcake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
- shared
- static
include:
- platform: ubuntu
runner: ubuntu-22.04
- platform: macos
runner: macos-14
- platform: ubuntu
compiler: gcc
profile:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 9ab2c52

Please sign in to comment.