mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-28 18:07:10 +08:00
* Update _index.md * Update _index.md * ci: cancel superseded workflow runs * ci: serialize documentation deployments --------- Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
58 lines
1.6 KiB
YAML
58 lines
1.6 KiB
YAML
name: gcc-c++23-s390x
|
|
on:
|
|
push:
|
|
branches: [ master, development, pull-request/* ]
|
|
paths:
|
|
- '.github/workflows/**'
|
|
- 'include/**'
|
|
- 'test/**'
|
|
- 'CMakeLists.txt'
|
|
- 'cmake/**'
|
|
- 'BUILD.bazel'
|
|
- 'MODULE.bazel*'
|
|
- 'meson.build'
|
|
- 'meson_options.txt'
|
|
- 'subprojects/**'
|
|
- '.devcontainer/**'
|
|
pull_request:
|
|
branches: [ master, development, pull-request/* ]
|
|
types: [opened, synchronize, reopened]
|
|
paths:
|
|
- '.github/workflows/**'
|
|
- 'include/**'
|
|
- 'test/**'
|
|
- 'CMakeLists.txt'
|
|
- 'cmake/**'
|
|
- 'BUILD.bazel'
|
|
- 'MODULE.bazel*'
|
|
- 'meson.build'
|
|
- 'meson_options.txt'
|
|
- 'subprojects/**'
|
|
- '.devcontainer/**'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
|
|
build-gcc-cpp23-linux-no-stl-s390x:
|
|
name: GCC C++23 Linux - No STL - s390x
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6.0.3
|
|
|
|
- name: Build Docker image
|
|
run: docker build -t etl-s390x -f .devcontainer/s390x/Dockerfile .
|
|
|
|
- name: Build and run tests
|
|
run: |
|
|
docker run --rm --user root -v ${{ github.workspace }}:/workspaces/etl etl-s390x bash -c "\
|
|
cmake -DBUILD_TESTS=ON -DNO_STL=ON -DETL_USE_TYPE_TRAITS_BUILTINS=OFF -DETL_USER_DEFINED_TYPE_TRAITS=OFF -DETL_FORCE_TEST_CPP03_IMPLEMENTATION=OFF \
|
|
-DETL_CXX_STANDARD=23 -DCMAKE_TOOLCHAIN_FILE=.devcontainer/s390x/toolchain-s390x.cmake \
|
|
-DEXTRA_TESTING_FLAGS=-v \
|
|
./ && \
|
|
cmake --build . -- -j \$(getconf _NPROCESSORS_ONLN) && \
|
|
ctest -V"
|