mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-28 18:07:10 +08:00
GitHub Actions runners now force Node.js 24; actions/checkout@v4 still targets Node.js 20 and triggers a deprecation warning. Pin all workflows to v6.0.3, the latest stable release with native Node.js 24 support.
30 lines
1018 B
YAML
30 lines
1018 B
YAML
name: gcc-c++23-s390x
|
|
on:
|
|
push:
|
|
branches: [ master, development, pull-request/* ]
|
|
pull_request:
|
|
branches: [ master, development, pull-request/* ]
|
|
types: [opened, synchronize, reopened]
|
|
|
|
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"
|