mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Add functional tests on arm64
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
parent
ee566c492b
commit
5f94975860
30
.github/workflows/functional-arm64.yaml
vendored
Normal file
30
.github/workflows/functional-arm64.yaml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
name: functional-arm64-tests
|
||||
on: [push, pull_request]
|
||||
permissions: read-all
|
||||
jobs:
|
||||
test:
|
||||
runs-on: [Linux, ARM64]
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
target:
|
||||
- linux-arm64-functional
|
||||
steps:
|
||||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
||||
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
|
||||
with:
|
||||
go-version: "1.19.5"
|
||||
- run: date
|
||||
- env:
|
||||
TARGET: ${{ matrix.target }}
|
||||
run: |
|
||||
echo "${TARGET}"
|
||||
case "${TARGET}" in
|
||||
linux-arm64-functional)
|
||||
GO_BUILD_FLAGS='-v -mod=readonly' ./scripts/build.sh && GOARCH=arm64 PASSES='functional' ./scripts/test.sh
|
||||
;;
|
||||
*)
|
||||
echo "Failed to find target"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
Loading…
x
Reference in New Issue
Block a user