Skip to content

Commit

Permalink
Use pub-hk-ubuntu-22.04-arm-small
Browse files Browse the repository at this point in the history
Smaller runners are more plentiful, and we no longer need to install Docker, either!
  • Loading branch information
dzuelke authored May 30, 2024
1 parent db17d88 commit 535b94e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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
Expand Down

0 comments on commit 535b94e

Please sign in to comment.