Switching to CPM #295
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu s390x (GCC 11) | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- uses: uraimo/run-on-arch-action@4ed76f16f09d12e83abd8a49e1ac1e5bf08784d4 # v2.5.1 | |
name: Test | |
id: runcmd | |
with: | |
arch: s390x | |
githubToken: ${{ github.token }} | |
distro: ubuntu_latest | |
install: | | |
apt-get update -q -y | |
apt-get install -y cmake make g++ | |
run: | | |
cmake -DCMAKE_BUILD_TYPE=Release -B build | |
cmake --build build -j=2 | |
ctest --output-on-failure --test-dir build | |