@@ -13,14 +13,12 @@ jobs:
1313 matrix :
1414 compiler : [{name: gcc, flag: --action_env=CC=gcc-14}, {name: clang, flag: --action_env=CC=clang-18}]
1515 mode : [{name: dbg, flag: --compilation_mode=dbg}, {name: opt, flag: --compilation_mode=opt}]
16- std : [{name: c++20, flag: --cxxopt=-std=c++20}, {name: c++14 , flag: --cxxopt=-std=c++14 }]
16+ std : [{name: c++20, flag: --cxxopt=-std=c++20}, {name: c++17 , flag: --cxxopt=-std=c++17 }]
1717 stdlib : [{name: stdlibc++}, {name: libc++, flag: --cxxopt=-stdlib=libc++ --linkopt=-stdlib=libc++}]
1818 feature : [{name: asan, flag: --features=asan}, {name: tsan, flag: --features=tsan}]
1919 exclude :
2020 - compiler : {name: gcc}
2121 stdlib : {name: libc++}
22- - std : {name: c++14}
23- feature : {name: tsan}
2422 runs-on : ubuntu-24.04
2523 name : basic-${{matrix.compiler.name}}-${{matrix.mode.name}}-${{matrix.std.name}}-${{matrix.stdlib.name}}-${{matrix.feature.name}}
2624 steps :
@@ -39,55 +37,38 @@ jobs:
3937 path : bazel-disk
4038 key : bazel-disk-basic-${{matrix.compiler.name}}-${{matrix.mode.name}}-${{matrix.std.name}}-${{matrix.stdlib.name}}-${{matrix.feature.name}}-${{github.sha}}
4139
42- arenastring :
43- strategy :
44- fail-fast : false
45- matrix :
46- compiler : [{name: gcc, flag: --action_env=CC=gcc-14}, {name: clang, flag: --action_env=CC=clang-18}]
47- stdlib : [{name: stdlibc++}, {name: libc++, flag: --cxxopt=-stdlib=libc++ --linkopt=-stdlib=libc++}]
48- mutable : [{name: default}, {name: half, flag: --config=arenastring}, {name: full, flag: --config=mutable-donated-string}]
49- exclude :
50- - compiler : {name: gcc}
51- stdlib : {name: libc++}
52- - compiler : {name: clang}
53- mutable : {name: half}
54- - compiler : {name: clang}
55- mutable : {name: full}
56- runs-on : ubuntu-24.04
57- name : arenastring-${{matrix.compiler.name}}-${{matrix.stdlib.name}}-${{matrix.mutable.name}}
58- steps :
59- - uses : actions/checkout@v4
60- - uses : actions/cache/restore@v4
61- with :
62- path : bazel-disk
63- key : bazel-disk-arenastring-${{matrix.compiler.name}}-${{matrix.stdlib.name}}-${{matrix.mutable.name}}-${{github.sha}}
64- restore-keys : bazel-disk-arenastring-${{matrix.compiler.name}}-${{matrix.stdlib.name}}-${{matrix.mutable.name}}-
65- - if : ${{matrix.stdlib.name == 'libc++'}}
66- run : sudo apt install libc++-18-dev libc++abi-18-dev
67- - run : sed -i "/single_version_override.*protobuf/s/version = '[^']*'/version = '28.3.arenastring'/" MODULE.bazel
68- - run : bazel test --compilation_mode=opt --disk_cache=bazel-disk --verbose_failures --test_output=errors --features=asan --registry=https://bcr.bazel.build --registry=file://%workspace%/registry ${{matrix.compiler.flag}} ${{matrix.stdlib.flag}} ${{matrix.mutable.flag}} test/...
69- - uses : actions/cache/save@v4
70- if : always()
71- with :
72- path : bazel-disk
73- key : bazel-disk-arenastring-${{matrix.compiler.name}}-${{matrix.stdlib.name}}-${{matrix.mutable.name}}-${{github.sha}}
74-
75- cpp14-coroutine :
76- runs-on : ubuntu-24.04
77- steps :
78- - uses : actions/checkout@v4
79- - uses : actions/cache/restore@v4
80- with :
81- path : bazel-disk
82- key : bazel-disk-c++14-coroutine-${{github.sha}}
83- restore-keys : bazel-disk-c++14-coroutine-
84- - run : sed -i "/single_version_override.*protobuf/s/version = '[^']*'/version = '27.5'/" MODULE.bazel
85- - run : bazel test --disk_cache=bazel-disk --verbose_failures --test_output=errors --action_env=CC=gcc-12 --cxxopt=-std=c++14 --cxxopt=-fcoroutines --cxxopt=-fconcepts test/...
86- - uses : actions/cache/save@v4
87- if : always()
88- with :
89- path : bazel-disk
90- key : bazel-disk-c++14-coroutine-${{github.sha}}
40+ # arenastring:
41+ # strategy:
42+ # fail-fast: false
43+ # matrix:
44+ # compiler: [{name: gcc, flag: --action_env=CC=gcc-14}, {name: clang, flag: --action_env=CC=clang-18}]
45+ # stdlib: [{name: stdlibc++}, {name: libc++, flag: --cxxopt=-stdlib=libc++ --linkopt=-stdlib=libc++}]
46+ # mutable: [{name: default}, {name: half, flag: --config=arenastring}, {name: full, flag: --config=mutable-donated-string}]
47+ # exclude:
48+ # - compiler: {name: gcc}
49+ # stdlib: {name: libc++}
50+ # - compiler: {name: clang}
51+ # mutable: {name: half}
52+ # - compiler: {name: clang}
53+ # mutable: {name: full}
54+ # runs-on: ubuntu-24.04
55+ # name: arenastring-${{matrix.compiler.name}}-${{matrix.stdlib.name}}-${{matrix.mutable.name}}
56+ # steps:
57+ # - uses: actions/checkout@v4
58+ # - uses: actions/cache/restore@v4
59+ # with:
60+ # path: bazel-disk
61+ # key: bazel-disk-arenastring-${{matrix.compiler.name}}-${{matrix.stdlib.name}}-${{matrix.mutable.name}}-${{github.sha}}
62+ # restore-keys: bazel-disk-arenastring-${{matrix.compiler.name}}-${{matrix.stdlib.name}}-${{matrix.mutable.name}}-
63+ # - if: ${{matrix.stdlib.name == 'libc++'}}
64+ # run: sudo apt install libc++-18-dev libc++abi-18-dev
65+ # - run: sed -i "/single_version_override.*protobuf/s/version = '[^']*'/version = '28.3.arenastring'/" MODULE.bazel
66+ # - run: bazel test --compilation_mode=opt --disk_cache=bazel-disk --verbose_failures --test_output=errors --features=asan --registry=https://bcr.bazel.build --registry=file://%workspace%/registry ${{matrix.compiler.flag}} ${{matrix.stdlib.flag}} ${{matrix.mutable.flag}} test/...
67+ # - uses: actions/cache/save@v4
68+ # if: always()
69+ # with:
70+ # path: bazel-disk
71+ # key: bazel-disk-arenastring-${{matrix.compiler.name}}-${{matrix.stdlib.name}}-${{matrix.mutable.name}}-${{github.sha}}
9172
9273 aarch64 :
9374 runs-on : ubuntu-24.04
11899 path : bazel-disk
119100 key : bazel-disk-workspace-${{github.sha}}
120101 restore-keys : bazel-disk-workspace-
121- - run : bazel test --disk_cache=bazel-disk --verbose_failures --test_output=errors --enable_bzlmod=false test/...
102+ - run : USE_BAZEL_VERSION=7.6.1 bazel test --disk_cache=bazel-disk --verbose_failures --test_output=errors --enable_bzlmod=false test/...
122103 - uses : actions/cache/save@v4
123104 if : always()
124105 with :
0 commit comments