Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions package/ci/circleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ executors:
machine:
image: ubuntu-2004:202101-01
resource_class: arm.medium
s390x:
docker:
- image: multiarch/qemu-user-static:x86_64-s390x-7.2.0-1

commands:
install-base-linux:
Expand Down Expand Up @@ -68,6 +71,19 @@ commands:
if [[ "$CMAKE_CXX_FLAGS" == *"--coverage"* ]]; then export LCOV_PACKAGES="lcov curl"; fi
sudo apt install -y ninja-build gcc cmake $LCOV_PACKAGES << parameters.extra >>

install-base-linux-s390x:
parameters:
extra:
type: string
default: ""
steps:
- run:
name: Update apt and install base packages
command: |
apt update
if [[ "$CMAKE_CXX_FLAGS" == *"--coverage"* ]]; then export LCOV_PACKAGES="lcov curl"; fi
sudo apt install -y ninja-build gcc cmake $LCOV_PACKAGES << parameters.extra >>

install-base-macos:
parameters:
extra:
Expand Down Expand Up @@ -350,6 +366,20 @@ jobs:
- build:
script: ios-simulator.sh

linux-s390x:
executor: s390x
environment:
CMAKE_CXX_FLAGS: --coverage
CONFIGURATION: Debug
steps:
# Not installing the old GCC 4.8 and CMake 3.4 to speed up. These are
# tested more than enough on other jobs.
- install-base-linux-s390x
- make-expected-linux-dirs
- build:
script: unix-desktop.sh
- lcov

# Python preprocessor for magnum-singles, for a lack of better name
acme:
executor: python-3_6
Expand Down Expand Up @@ -412,4 +442,5 @@ workflows:
requires:
- macos-static
- linux-arm64
- linux-s390x
- acme