.github/workflows: add armv5 and armv7 cross tests

armv5 because that's what we ship to most downstreams right now,
armv7 becuase that's what we want to ship more of.

Fixes https://github.com/tailscale/tailscale/issues/7269

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson 2023-02-11 18:31:50 -08:00 committed by Denton Gentry
parent 5787989d74
commit 5a2fa3aa95

View File

@ -146,6 +146,12 @@ jobs:
goarch: "386" # thanks yaml goarch: "386" # thanks yaml
- goos: linux - goos: linux
goarch: loong64 goarch: loong64
- goos: linux
goarch: arm
goarm: "5"
- goos: linux
goarch: arm
goarm: "7"
# macOS # macOS
- goos: darwin - goos: darwin
goarch: amd64 goarch: amd64
@ -171,6 +177,7 @@ jobs:
env: env:
GOOS: ${{ matrix.goos }} GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }} GOARCH: ${{ matrix.goarch }}
GOARM: ${{ matrix.goarm }}
CGO_ENABLED: "0" CGO_ENABLED: "0"
- name: build tests - name: build tests
run: ./tool/go test -exec=true ./... run: ./tool/go test -exec=true ./...