summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2020-10-11 17:34:44 -0700
committerJohn Hawthorn <john@hawthorn.email>2020-10-11 17:56:43 -0700
commit395a2534aca4a704da7501c5e79268420e41d174 (patch)
tree46a0a56407a2db78adf52b8df6edfc09628f936c
parentbc1c532172dce2b0ee3eef4696bb58d66bdb08cd (diff)
Build on armv7, aarch64, s390x, and ppc64leHEADmaster
-rw-r--r--.github/workflows/test.yml26
1 files changed, 23 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 043b071..651ccaa 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -11,7 +11,7 @@ jobs:
os: [ubuntu-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Compile and run tests
run: make && make test
env:
@@ -21,16 +21,36 @@ jobs:
runs-on: ubuntu-latest
container: docker://alpine
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Install build dependencies
run: apk add build-base
- name: Compile and run tests
run: make && make test
+ multiarch_test:
+ name: Test on ${{ matrix.arch }}
+ strategy:
+ matrix:
+ arch: [armv7, aarch64, s390x, ppc64le]
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v2
+ - uses: uraimo/run-on-arch-action@v2.0.5
+ name: Compile and run tests
+ id: test
+ with:
+ arch: ${{ matrix.arch }}
+ distro: ubuntu20.04
+ githubToken: ${{ github.token }}
+ install: |
+ apt-get update -q -y
+ apt-get install -y gcc make
+ rm -rf /var/lib/apt/lists/*
+ run: make && make test
acceptance_test:
name: Acceptance Tests
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with: