From 5901bd6492de5ccb385c8ab838694b9b547d5ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Z=C3=BClke?= Date: Thu, 30 May 2024 19:12:20 +0200 Subject: [PATCH] Use pub-hk-ubuntu-22.04-arm-small (#268) Smaller runners are more plentiful, and we no longer need to install Docker, either! --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5591c36b..9c6c9b3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: integration-test: name: integration-tests ${{ matrix.builder }} / ${{ matrix.arch }} - runs-on: ${{ matrix.arch == 'arm64' && 'pub-hk-ubuntu-22.04-arm-large' || 'ubuntu-latest' }} + runs-on: ${{ matrix.arch == 'arm64' && 'pub-hk-ubuntu-22.04-arm-small' || 'ubuntu-latest' }} strategy: matrix: arch: ["amd64"] @@ -53,14 +53,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - # The beta ARM64 runners don't yet ship with the normal installed tools. - - name: Install Docker, Rust and development libs (ARM64 only) + - name: Install Rust and development libs (ARM64 only) if: matrix.arch == 'arm64' run: | sudo apt-get update --error-on=any - sudo apt-get install -y --no-install-recommends acl docker.io docker-buildx libc6-dev - sudo usermod -aG docker $USER - sudo setfacl --modify user:$USER:rw /var/run/docker.sock + sudo apt-get install -y --no-install-recommends libc6-dev curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal echo "${HOME}/.cargo/bin" >> "${GITHUB_PATH}" - name: Install musl-tools