1515 - cron : " 0 8 * * 1"
1616
1717jobs :
18- test :
19- runs-on : ubuntu-latest
20- container : ${{ matrix.arch }}/ubuntu
21- strategy :
22- matrix :
23- arch : ["s390x"]
24- steps :
25- - name : Checkout FFCx
26- uses : actions/checkout@v6
27-
28- - name : Set up Python
29- uses : actions/setup-python@v6
30-
31- - name : Install dependencies (non-Python, Linux)
32- run : sudo apt-get install -y graphviz libgraphviz-dev ninja-build pkg-config libblas-dev liblapack-dev
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v4
22+ # 1️⃣ Enable QEMU emulation
23+ - name : Set up QEMU
24+ uses : docker/setup-qemu-action@v3
25+ with :
26+ platforms : s390x
27+
28+ # 2️⃣ Enable Docker Buildx
29+ - name : Set up Docker Buildx
30+ uses : docker/setup-buildx-action@v3
31+
32+ # 3️⃣ Test running an s390x container
33+ - name : Run s390x Ubuntu
34+ run : |
35+ docker run --rm --platform linux/s390x s390x/ubuntu:latest uname -m
36+ # test:
37+ # runs-on: ubuntu-latest
38+ # container: ${{ matrix.arch }}/ubuntu
39+ # strategy:
40+ # matrix:
41+ # arch: ["s390x"]
42+ # steps:
43+ # - name: Checkout FFCx
44+ # uses: actions/checkout@v6
45+
46+ # - name: Set up Python
47+ # uses: actions/setup-python@v6
48+
49+ # - name: Install dependencies (non-Python, Linux)
50+ # run: sudo apt-get install -y graphviz libgraphviz-dev ninja-build pkg-config libblas-dev liblapack-dev
3351
34- - name : Install FEniCS dependencies
35- run : |
36- pip install git+https://github.com/FEniCS/ufl.git
37- pip install git+https://github.com/FEniCS/basix.git
38-
39- - name : Install FFCx
40- run : pip install .[ci,optional]
41-
42- - name : Run unit tests
43- run : >
44- python -m pytest test/
45- -n auto
46- -W error
47-
48- - name : Run FFCx demos
49- run : >
50- pytest demo/test_demos.py
51- -W error
52- # -n auto
52+ # - name: Install FEniCS dependencies
53+ # run: |
54+ # pip install git+https://github.com/FEniCS/ufl.git
55+ # pip install git+https://github.com/FEniCS/basix.git
56+
57+ # - name: Install FFCx
58+ # run: pip install .[ci,optional]
59+
60+ # - name: Run unit tests
61+ # run: >
62+ # python -m pytest test/
63+ # -n auto
64+ # -W error
65+
66+ # - name: Run FFCx demos
67+ # run: >
68+ # pytest demo/test_demos.py
69+ # -W error
70+ # # -n auto
5371
5472
0 commit comments