From 973d06bbaab7ee7dfbbee264749f666f56ebd5b1 Mon Sep 17 00:00:00 2001 From: Michael Popoloski Date: Tue, 14 Nov 2023 10:26:41 -0500 Subject: [PATCH] Update dist.yml --- .github/workflows/dist.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dist.yml b/.github/workflows/dist.yml index 7e1ad56..6a68b4f 100644 --- a/.github/workflows/dist.yml +++ b/.github/workflows/dist.yml @@ -11,12 +11,16 @@ on: jobs: build_sdist: name: Build SDist - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: fetch-depth: 0 submodules: recursive + - name: Update GCC + run: | + sudo apt-get update + sudo apt-get install -y g++-11 - name: Build SDist run: pipx run build --sdist - name: Check metadata @@ -31,7 +35,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-13, windows-latest] + os: [ubuntu-22.04, macos-13, windows-latest] steps: - uses: actions/checkout@v3 with: @@ -40,7 +44,12 @@ jobs: - uses: maxim-lobanov/setup-xcode@v1 if: matrix.os == 'macos-13' with: - xcode-version: '14.3' + xcode-version: 'latest' + - name: Update GCC + if: matrix.os == 'ubuntu-22.04' + run: | + sudo apt-get update + sudo apt-get install -y g++-11 - uses: pypa/cibuildwheel@v2.14.1 env: CIBW_ARCHS_MACOS: auto universal2