Skip to content

Commit 6889c1f

Browse files
committed
Add s390x CI
1 parent d68b685 commit 6889c1f

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Architecture
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
tags:
8+
- "v*"
9+
pull_request:
10+
branches: [main]
11+
merge_group:
12+
branches: [main]
13+
# Weekly build on Mondays at 8 am
14+
schedule:
15+
- cron: "0 8 * * 1"
16+
17+
jobs:
18+
test:
19+
runs-on: ubuntu-latest
20+
image: ${{ matrix.arch }}/docker
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
33+
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
53+
54+

0 commit comments

Comments
 (0)