File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Use an s390x Ubuntu base image
21FROM ubuntu
32
43ENV DEBIAN_FRONTEND=noninteractive
@@ -20,22 +19,16 @@ RUN apt-get update && apt-get install -y \
2019 build-essential \
2120 && rm -rf /var/lib/apt/lists/*
2221
23- # Upgrade pip tooling
24- RUN python3 -m pip install --upgrade pip setuptools wheel
22+ # RUN python3 -m pip install --upgrade pip setuptools wheel
2523
26- # Set work directory
2724WORKDIR /ffcx
28-
29- # Copy FFCx source tree
3025COPY . .
3126
32- # Install FEniCS dependencies from git
3327RUN pip install \
3428 git+https://github.com/FEniCS/ufl.git \
3529 git+https://github.com/FEniCS/basix.git
3630
37- # Install FFCx with CI + optional dependencies
3831RUN pip install .[ci,optional]
3932
40- # Default command: run unit tests
41- CMD python -m pytest test/ -W error
33+ RUN python -m pytest test/ -n auto -W error
34+ RUN python -m pytest test/ -n auto - W error
Original file line number Diff line number Diff line change 1717jobs :
1818 run :
1919 runs-on : ubuntu-latest
20+ strategy :
21+ matrix :
22+ arch : ["s390x"]
2023 steps :
2124 - name : Checkout repository
2225 uses : actions/checkout@v4
2326
24- # Enable QEMU for s390x emulation
2527 - name : Set up QEMU
2628 uses : docker/setup-qemu-action@v3
2729 with :
28- platforms : s390x
30+ platforms : ${{ matrix.arch }}
2931
30- # Enable Docker Buildx
3132 - name : Set up Docker Buildx
3233 uses : docker/setup-buildx-action@v3
3334
You can’t perform that action at this time.
0 commit comments