Skip to content

Commit 867c563

Browse files
Merge pull request #1279 from WilliamJamieson/bugfix/s390
1 parent a1ea77c commit 867c563

1 file changed

Lines changed: 23 additions & 9 deletions

File tree

.github/workflows/s390x.yml

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,37 @@ on:
1818
- '*'
1919

2020
jobs:
21-
pytest:
22-
name: Run s390x Tests
23-
runs-on: ubuntu-18.04
21+
exotic_architechtures:
22+
runs-on: ubuntu-20.04
23+
name: Python 3.9
24+
2425
if: (github.repository == 'asdf-format/asdf' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 's390x')))
26+
env:
27+
ARCH_ON_CI: ${{ matrix.arch }}
28+
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
include:
33+
- arch: aarch64
34+
- arch: s390x
35+
2536
steps:
2637
- uses: actions/checkout@v3
2738
with:
2839
fetch-depth: 0
2940
submodules: true
30-
- uses: uraimo/run-on-arch-action@v2.2.1
41+
42+
- uses: uraimo/run-on-arch-action@v2
3143
name: Run tests
3244
id: build
3345
with:
34-
arch: s390x
35-
distro: bullseye
46+
arch: ${{ matrix.arch }}
47+
distro: ubuntu_latest
48+
3649
shell: /bin/bash
50+
3751
install: |
38-
echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list
3952
apt-get update -q -y
4053
apt-get install -q -y git \
4154
g++ \
@@ -49,10 +62,11 @@ jobs:
4962
python3-venv \
5063
python3-wheel \
5164
cython3 \
52-
libwcs7/bullseye-backports \
53-
wcslib-dev/bullseye-backports \
65+
libwcs7 \
66+
wcslib-dev \
5467
libcfitsio-dev \
5568
liberfa1
69+
5670
run: |
5771
python3 -m venv --system-site-packages tests
5872
source tests/bin/activate

0 commit comments

Comments
 (0)