Skip to content

Commit 89e1e46

Browse files
committed
Update workflows
1 parent 9b3a75d commit 89e1e46

2 files changed

Lines changed: 33 additions & 19 deletions

File tree

.github/workflows/clang.yml

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,41 +18,47 @@ jobs:
1818
no_exceptions_rtti: 'Off'
1919
extra_settings: 'Off'
2020
flags: '-std=c++23 -Werror'
21+
cont_ver: '26.04'
2122

2223
- clang_ver: '20'
2324
ubuntu_ver: '24.04'
2425
build_type: 'Release'
2526
no_exceptions_rtti: 'Off'
2627
extra_settings: 'Off'
2728
flags: '-std=c++26 -Werror'
29+
cont_ver: '26.04'
2830

2931
- clang_ver: '21'
3032
ubuntu_ver: '24.04'
3133
build_type: 'Release'
3234
no_exceptions_rtti: 'Off'
3335
extra_settings: 'Off'
3436
flags: '-std=c++26 -Werror'
37+
cont_ver: '26.04'
3538

36-
- clang_ver: '21'
37-
ubuntu_ver: '24.04'
38-
build_type: 'Debug'
39-
no_exceptions_rtti: 'Off'
40-
extra_settings: 'Off'
41-
flags: '-std=c++26 -Werror -fsanitize=address,undefined'
39+
# - clang_ver: '21'
40+
# ubuntu_ver: '24.04'
41+
# build_type: 'Debug'
42+
# no_exceptions_rtti: 'Off'
43+
# extra_settings: 'Off'
44+
# flags: '-std=c++26 -Werror -fsanitize=address,undefined'
45+
# cont_ver: '26.04'
4246

4347
- clang_ver: '21'
4448
ubuntu_ver: '24.04'
4549
build_type: 'Release'
4650
no_exceptions_rtti: 'On'
4751
extra_settings: 'Off'
4852
flags: '-std=c++26 -Werror'
53+
cont_ver: '26.04'
4954

5055
- clang_ver: '21'
5156
ubuntu_ver: '24.04'
5257
build_type: 'Release'
5358
no_exceptions_rtti: 'Off'
5459
extra_settings: 'On'
5560
flags: '-std=c++26 -Werror'
61+
cont_ver: '26.04'
5662

5763
# ARM64
5864
- clang_ver: '19'
@@ -61,54 +67,62 @@ jobs:
6167
no_exceptions_rtti: 'Off'
6268
extra_settings: 'Off'
6369
flags: '-std=c++23 -Werror'
70+
cont_ver: '26.04'
6471

6572
- clang_ver: '20'
6673
ubuntu_ver: '24.04-arm'
6774
build_type: 'Release'
6875
no_exceptions_rtti: 'Off'
6976
extra_settings: 'Off'
7077
flags: '-std=c++26 -Werror'
78+
cont_ver: '26.04'
7179

7280
- clang_ver: '21'
7381
ubuntu_ver: '24.04-arm'
7482
build_type: 'Release'
7583
no_exceptions_rtti: 'Off'
7684
extra_settings: 'Off'
7785
flags: '-std=c++26 -Werror'
86+
cont_ver: '26.04'
7887

79-
- clang_ver: '21'
80-
ubuntu_ver: '24.04-arm'
81-
build_type: 'Debug'
82-
no_exceptions_rtti: 'Off'
83-
extra_settings: 'Off'
84-
flags: '-std=c++26 -Werror -fsanitize=address,undefined'
88+
# - clang_ver: '21'
89+
# ubuntu_ver: '24.04-arm'
90+
# build_type: 'Debug'
91+
# no_exceptions_rtti: 'Off'
92+
# extra_settings: 'Off'
93+
# flags: '-std=c++26 -Werror -fsanitize=address,undefined'
94+
# cont_ver: '26.04'
8595

8696
- clang_ver: '21'
8797
ubuntu_ver: '24.04-arm'
8898
build_type: 'Release'
8999
no_exceptions_rtti: 'On'
90100
extra_settings: 'Off'
91101
flags: '-std=c++26 -Werror'
102+
cont_ver: '26.04'
92103

93104
- clang_ver: '21'
94105
ubuntu_ver: '24.04-arm'
95106
build_type: 'Release'
96107
no_exceptions_rtti: 'Off'
97108
extra_settings: 'On'
98109
flags: '-std=c++26 -Werror'
110+
cont_ver: '26.04'
99111

100112
runs-on: ubuntu-${{ matrix.ubuntu_ver }}
113+
container: ubuntu:${{ matrix.cont_ver }}
101114

102115
steps:
103116
# - uses: actionhippie/swap-space@v1 # 10G
117+
- name: Install tools
118+
run: |
119+
apt-get update
120+
apt-get install -y cmake
121+
apt-get install -y ninja-build
104122
- name: Checkout
105123
uses: actions/checkout@v6
106-
- name: Setup Clang
107-
uses: egor-tensin/setup-clang@v2
108-
with:
109-
version: ${{ matrix.clang_ver }}
110-
# - name: Install Clang
111-
# run: sudo apt install clang-${{ matrix.clang_ver }}
124+
- name: Install Clang
125+
run: apt-get install -y clang-${{ matrix.clang_ver }}
112126
- name: Build
113127
env:
114128
CXX: clang++-${{ matrix.clang_ver }}

.github/workflows/gcc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
runs-on: ubuntu-${{ matrix.ubuntu_ver }}
8787

8888
steps:
89-
# - uses: actionhippie/swap-space@v1 # 10G
89+
- uses: actionhippie/swap-space@v1 # 10G
9090
- name: Checkout
9191
uses: actions/checkout@v6
9292
- name: Setup GCC

0 commit comments

Comments
 (0)