Use github arm64 runners (#7054)

Signed-off-by: Sean Young <sean@mess.org>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
pull/7087/head
Sean Young 7 months ago committed by GitHub
parent a754431cec
commit 2a39f2ccca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      .github/workflows/develop.yml
  2. 4
      .github/workflows/docker.yml

@ -36,7 +36,7 @@ jobs:
matrix: matrix:
platform: platform:
- ubuntu-22.04 - ubuntu-22.04
- [self-hosted, ARM64] - besu-arm64
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- name: Prepare - name: Prepare
@ -47,6 +47,8 @@ jobs:
echo "PLATFORM_PAIR=linux-amd64" >> $GITHUB_OUTPUT echo "PLATFORM_PAIR=linux-amd64" >> $GITHUB_OUTPUT
echo "ARCH=amd64" >> $GITHUB_OUTPUT echo "ARCH=amd64" >> $GITHUB_OUTPUT
else else
sudo apt-get update
sudo apt-get -y install docker.io
echo "PLATFORM_PAIR=linux-arm64" >> $GITHUB_OUTPUT echo "PLATFORM_PAIR=linux-arm64" >> $GITHUB_OUTPUT
echo "ARCH=arm64" >> $GITHUB_OUTPUT echo "ARCH=arm64" >> $GITHUB_OUTPUT
fi fi

@ -34,7 +34,7 @@ jobs:
matrix: matrix:
platform: platform:
- ubuntu-22.04 - ubuntu-22.04
- [self-hosted, ARM64] - besu-arm64
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- name: Prepare - name: Prepare
@ -45,6 +45,8 @@ jobs:
echo "PLATFORM_PAIR=linux-amd64" >> $GITHUB_OUTPUT echo "PLATFORM_PAIR=linux-amd64" >> $GITHUB_OUTPUT
echo "ARCH=amd64" >> $GITHUB_OUTPUT echo "ARCH=amd64" >> $GITHUB_OUTPUT
else else
sudo apt-get update
sudo apt-get -y install docker.io
echo "PLATFORM_PAIR=linux-arm64" >> $GITHUB_OUTPUT echo "PLATFORM_PAIR=linux-arm64" >> $GITHUB_OUTPUT
echo "ARCH=arm64" >> $GITHUB_OUTPUT echo "ARCH=arm64" >> $GITHUB_OUTPUT
fi fi

Loading…
Cancel
Save