mirror of
https://github.com/ii64/sonic.git
synced 2026-06-21 00:46:43 +08:00
* change push-check-arm.yml and remove fall back logics * fix README on the requirement and compatibility * fix: README on the requirement and compatibility * fix: README add backquotes * fix:remove instruction set requirement in README * Update README.md Co-authored-by: Yi Duan <duanyi.aster@bytedance.com>
30 lines
684 B
YAML
30 lines
684 B
YAML
name: Push Check ARM
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
go-version: [1.15.x, 1.19.x]
|
|
os: [arm]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: ~/go/pkg/mod
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-go-
|
|
|
|
- name: Compatibility Test
|
|
run: |
|
|
GOARCH=amd64 go test -gcflags=-d=checkptr=0 -c .
|
|
qemu-x86_64 -cpu max ./sonic.test -test.v
|