Enable the Cirrus builders for the CI

https://cirruslabs.org/ kindly provided us with four beefy CI runners,
so use them for our CI.

In addition to making the builds way faster, these also allow us to test
on aach64-linux, which is quite welcome.

Co-Authored-By: Fedor Korotkov <fedor.korotkov@gmail.com>
This commit is contained in:
Théophane Hufschmitt 2024-04-22 16:56:49 +02:00
parent e1fd0e0a8c
commit 2a633da236

View File

@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: ["ghcr.io/cirruslabs/ubuntu-runner-arm64:22.04-md", "ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-md", "ghcr.io/cirruslabs/macos-runner:sonoma"]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
@ -54,7 +54,7 @@ jobs:
installer:
needs: [tests, check_secrets]
if: github.event_name == 'push' && needs.check_secrets.outputs.cachix == 'true'
runs-on: ubuntu-latest
runs-on: ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-md
outputs:
installerURL: ${{ steps.prepare-installer.outputs.installerURL }}
steps:
@ -79,7 +79,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: ["ghcr.io/cirruslabs/ubuntu-runner-arm64:22.04-md", "ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-md", "ghcr.io/cirruslabs/macos-runner:sonoma"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
@ -161,7 +161,7 @@ jobs:
docker push $IMAGE_ID:master
vm_tests:
runs-on: ubuntu-22.04
runs-on: ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main