Skip to content

Commit

Permalink
new(ci): use actuated.dev arm64 node.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP committed Dec 21, 2023
1 parent b31ab78 commit 2077420
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:

jobs:
build-and-test:
runs-on: ubuntu-latest
name: build-and-test-${{ matrix.arch }}
runs-on: ${{ (matrix.arch == 'arm64' && 'actuated-arm64-8cpu-16gb') || 'ubuntu-22.04' }}
strategy:
matrix:
arch: [amd64, arm64]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -21,25 +25,3 @@ jobs:

- name: Test
run: make test

build-and-test-arm64:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: uraimo/run-on-arch-action@v2.2.0
name: Run aarch64 build 🏎️
with:
arch: aarch64
distro: alpine_latest
githubToken: ${{ github.token }}
install: |
apk update
apk add gcc musl-dev make bash git go
run: |
git config --global --add safe.directory ${{ github.workspace }}
make build
TEST_FLAGS=-v make test

0 comments on commit 2077420

Please sign in to comment.