Skip to content

Commit

Permalink
ci: run tests under s390
Browse files Browse the repository at this point in the history
This should help catch regressions like the one fixed by commit
a261251.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Apr 20, 2021
1 parent 2298a9c commit 045f864
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,22 @@ jobs:
GOOS=openbsd go build
GOOS=windows go build
GOOS=solaris go build
s390:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: vars
echo "/usr/local/go/bin" >> $GITHUB_PATH
- uses: uraimo/run-on-arch-action@v2.0.9
with:
arch: s390x
distro: fedora_latest
githubToken: ${{ github.token }}
install: |
curl -fsSL --retry 5 https://golang.org/dl/go1.16.3.linux-s390x.tar.gz | tar Cxz /usr/local
/usr/local/go/bin/go version
/usr/local/go/bin/go mod download
run: |
go version
go test

0 comments on commit 045f864

Please sign in to comment.