Skip to content

Commit

Permalink
Start using gitlab hosted runners for ARM (#2012)
Browse files Browse the repository at this point in the history
Those runners have proper auto-scaling and are able to
out-perform the self-hosted one that we had.
  • Loading branch information
derrix060 authored Aug 2, 2024
1 parent fb80ae2 commit 0a16be7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
architecture: amd64
- os: macOS-latest
architecture: amd64
- os: self-hosted
- os: ubuntu-arm64-4-core
architecture: arm64
runs-on: ${{ matrix.os }}

Expand All @@ -30,7 +30,7 @@ jobs:
id: tag
run: echo "TAG=$(git describe --tags)" >> $GITHUB_ENV

- name: Install dependencies (Ubuntu or self-hosted)
- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update -qq && sudo apt-get install -y upx-ucl build-essential cargo git golang libjemalloc-dev libjemalloc2 -y

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-image-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

build_and_push_docker_image_arm:
if: github.repository_owner == 'NethermindEth'
runs-on: self-hosted
runs-on: ubuntu-arm64-4-core
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/juno-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
go: [ '1.22.2' ]
os: [ ubuntu-latest, macos-latest, self-hosted-linux-arm64]
os: [ ubuntu-latest, macos-latest, ubuntu-arm64-2-core]
runs-on: ${{ matrix.os }}
env:
VM_DEBUG: true
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Install deps
run: make install-deps

- name: Install Jemalloc (Ubuntu or self-hosted)
- name: Install Jemalloc (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update -qq && sudo apt-get install -y libjemalloc-dev libjemalloc2 -y

Expand Down

0 comments on commit 0a16be7

Please sign in to comment.