Skip to content

Commit

Permalink
Merge pull request #1 from sondavidb/automate-arm-testing
Browse files Browse the repository at this point in the history
Add ARM testing to workflow
  • Loading branch information
sondavidb authored Sep 14, 2023
2 parents f556b45 + 000c9c3 commit 1282e9f
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/build-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build

on:
push:
branches: [ main ]
paths:
- '**'
- '!docs/**' # ignore docs changes
- '!**.md' # ignore markdown changes
pull_request:
branches: [ main ]
paths:
- '**.go'
- 'go.*'
- 'cmd/go.*'
- 'Makefile'
- 'Dockerfile'
- 'integration/**'
- 'scripts/**'

jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: uraimo/run-on-arch-action@v2.5.1
with:
go-version: '1.20.6'
arch: armv7
distro: ubuntu20.04
- run: make
- run: make test
integration:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
containerd: ["1.6.19", "1.7.0"]
env:
DOCKER_BUILD_ARGS: "CONTAINERD_VERSION=${{ matrix.containerd }}"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: uraimo/run-on-arch-action@v2.5.1
with:
go-version: '1.20.6'
arch: armv7
distro: ubuntu20.04
- run: make integration

0 comments on commit 1282e9f

Please sign in to comment.