-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci.yml: override Node20 in old containers
- Loading branch information
Showing
1 changed file
with
26 additions
and
31 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -207,15 +207,6 @@ jobs: | |
name: "Apple-Clang (macOS 13)" | ||
build-type: "Release" | ||
|
||
- compiler: "apple-clang" | ||
version: "*" | ||
cxx: "clang++" | ||
cc: "clang" | ||
runs-on: "macos-12" | ||
b2-toolset: "clang" | ||
name: "Apple-Clang (macOS 12)" | ||
build-type: "Release" | ||
|
||
# Linux compilers | ||
# | ||
|
||
|
@@ -364,8 +355,7 @@ jobs: | |
latest-cxxstd: "20" | ||
cxx: "g++-13" | ||
cc: "gcc-13" | ||
runs-on: "ubuntu-latest" | ||
container: "ubuntu:23.04" | ||
runs-on: "ubuntu-24.04" | ||
b2-toolset: "gcc" | ||
name: "GCC 13: C++17-20" | ||
build-type: "Release" | ||
|
@@ -377,8 +367,7 @@ jobs: | |
latest-cxxstd: "20" | ||
cxx: "g++-13" | ||
cc: "gcc-13" | ||
runs-on: "ubuntu-latest" | ||
container: "ubuntu:23.04" | ||
runs-on: "ubuntu-24.04" | ||
b2-toolset: "gcc" | ||
is-latest: true | ||
name: "GCC 13: C++17-20 (coverage)" | ||
|
@@ -608,8 +597,7 @@ jobs: | |
latest-cxxstd: "20" | ||
cxx: "clang++-17" | ||
cc: "clang-17" | ||
runs-on: "ubuntu-latest" | ||
container: "ubuntu:23.10" | ||
runs-on: "ubuntu-24.04" | ||
b2-toolset: "clang" | ||
name: "Clang 17: C++17-20" | ||
build-type: "Release" | ||
|
@@ -621,8 +609,7 @@ jobs: | |
latest-cxxstd: "20" | ||
cxx: "clang++-16" | ||
cc: "clang-16" | ||
runs-on: "ubuntu-latest" | ||
container: "ubuntu:23.04" | ||
runs-on: "ubuntu-24.04" | ||
b2-toolset: "clang" | ||
name: "Clang 16: C++17-20" | ||
build-type: "Release" | ||
|
@@ -803,12 +790,20 @@ jobs: | |
container: | ||
image: ${{ matrix.container }} | ||
options: --privileged | ||
volumes: | ||
- /node20217:/node20217:rw,rshared | ||
- ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }} | ||
timeout-minutes: 120 | ||
|
||
steps: | ||
- name: Enable Node 16 | ||
- name: install nodejs20glibc2.17 | ||
if: ${{ startsWith( matrix.container, 'ubuntu:1' ) }} | ||
run: | | ||
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV | ||
apt-get update | ||
apt-get -yqq install xz-utils curl | ||
curl -LO https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz | ||
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217 | ||
ldd /__e/node20/bin/node | ||
- name: Clone Boost.HTTP.Proto | ||
uses: actions/checkout@v3 | ||
|
@@ -823,7 +818,7 @@ jobs: | |
ref: develop | ||
|
||
- name: Setup C++ | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
id: setup-cpp | ||
with: | ||
compiler: ${{ matrix.compiler }} | ||
|
@@ -832,7 +827,7 @@ jobs: | |
trace-commands: true | ||
|
||
- name: Install packages | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
id: package-install | ||
with: | ||
apt-get-add-architecture: 'i386' | ||
|
@@ -841,7 +836,7 @@ jobs: | |
build-essential | ||
- name: Clone Boost | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
id: boost-clone | ||
with: | ||
branch: ${{ (github.ref_name == 'master' && github.ref_name) || 'develop' }} | ||
|
@@ -850,7 +845,7 @@ jobs: | |
scan-modules-ignore: http_proto | ||
|
||
- name: Install zlib (Windows) | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
if: ${{ startsWith(matrix.runs-on, 'windows') && !matrix.skip-zlib }} | ||
id: zlib-install | ||
with: | ||
|
@@ -918,7 +913,7 @@ jobs: | |
python3 tools/boostdep/depinst/depinst.py $module | ||
- name: Boost B2 Workflow | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
if: ${{ !matrix.coverage && !matrix.time-trace }} | ||
env: | ||
ASAN_OPTIONS: ${{ ((matrix.compiler == 'apple-clang' || matrix.compiler == 'clang') && 'detect_invalid_pointer_pairs=0:strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1') || 'detect_invalid_pointer_pairs=2:strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1' }} | ||
|
@@ -940,7 +935,7 @@ jobs: | |
extra-args: ${{ (matrix.valgrind && 'testing.launcher=valgrind' || '' )}} | ||
|
||
- name: Boost CMake Workflow | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
if: ${{ matrix.coverage || matrix.time-trace || matrix.build-cmake || matrix.is-earliest }} | ||
with: | ||
source-dir: boost-root | ||
|
@@ -977,7 +972,7 @@ jobs: | |
echo "LD_LIBRARY_PATH=$GITHUB_WORKSPACE/.local/lib:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" | ||
- name: Find Package Integration Workflow | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
if: ${{ matrix.build-cmake || matrix.is-earliest }} | ||
with: | ||
source-dir: boost-root/libs/${{ steps.patch.outputs.module }}/test/cmake_test | ||
|
@@ -1001,7 +996,7 @@ jobs: | |
toolchain: ${{ (startsWith(matrix.runs-on, 'windows') && steps.patch-user-config.outputs.toolchain) || '' }} | ||
|
||
- name: Subdirectory Integration Workflow | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
if: ${{ matrix.build-cmake || matrix.is-earliest }} | ||
with: | ||
source-dir: boost-root/libs/${{ steps.patch.outputs.module }}/test/cmake_test | ||
|
@@ -1022,7 +1017,7 @@ jobs: | |
toolchain: ${{ (startsWith(matrix.runs-on, 'windows') && steps.patch-user-config.outputs.toolchain) || '' }} | ||
|
||
- name: Root Project CMake Workflow | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
if: ${{ matrix.build-cmake || matrix.is-earliest }} | ||
with: | ||
source-dir: boost-root/libs/${{ steps.patch.outputs.module }} | ||
|
@@ -1046,7 +1041,7 @@ jobs: | |
toolchain: ${{ (startsWith(matrix.runs-on, 'windows') && steps.patch-user-config.outputs.toolchain) || '' }} | ||
|
||
- name: FlameGraph | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
if: matrix.time-trace | ||
with: | ||
source-dir: boost-root/libs/http_proto | ||
|
@@ -1099,7 +1094,7 @@ jobs: | |
fetch-depth: 100 | ||
|
||
- name: Changelog | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
with: | ||
thank-non-regular: ${{ startsWith(github.ref, 'refs/tags/') }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -1118,7 +1113,7 @@ jobs: | |
node-version: 18 | ||
|
||
- name: Setup C++ | ||
uses: alandefreitas/cpp-actions/[email protected].2 | ||
uses: alandefreitas/cpp-actions/[email protected].7 | ||
id: setup-cpp | ||
with: | ||
compiler: clang | ||
|