Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Big Endian build on a CI #166

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
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