update cpm to v0.40.2 #1799
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: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: uraimo/run-on-arch-action@b0ffb25eb00af00468375982384441f063da1741 # v2.7.2 | |
name: Test | |
id: runcmd | |
with: | |
arch: none | |
distro: none | |
githubToken: ${{ github.token }} | |
base_image: '--platform=linux/s390x s390x/ubuntu:latest' | |
install: | | |
apt-get update -q -y | |
apt-get install -y cmake make g++ git ninja-build | |
run: | | |
cmake -DCMAKE_BUILD_TYPE=Release -G Ninja -B build | |
rm -r -f dependencies | |
cmake --build build -j=4 | |
ctest --output-on-failure --test-dir build |