Skip to content

Commit da38ccf

Browse files
authored
Merge pull request #353 from tetengo/modernize
Modernize
2 parents 798ce98 + c314dda commit da38ccf

126 files changed

Lines changed: 556 additions & 778 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/linux-clang.yml

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ on:
1414

1515
env:
1616
CONCURRENT_BUILD: 4
17-
CLANG_COMMAND: clang-14
18-
CLANGXX_COMMAND: clang++-14
19-
DOXYGEN_VER: 1.13.2
17+
CLANG_COMMAND: clang-18
18+
CLANGXX_COMMAND: clang++-18
19+
DOXYGEN_VER: 1.16.1
2020
DOXYGEN_CACHE_REV: 0
21-
BOOST_VER: 1_88_0
22-
BOOST_VER_DOT: 1.88.0
21+
BOOST_VER: 1_91_0
22+
BOOST_VER_DOT: 1.91.0
2323
BOOST_BOOTSTRAP_TOOLSET: clang
24-
BOOST_TOOLSET: clang-14
24+
BOOST_TOOLSET: clang-18
2525
BOOST_CACHE_REV: 0
2626

2727
jobs:
2828
doxygen_build:
2929
name: Doxygen Build
30-
runs-on: ubuntu-22.04
30+
runs-on: ubuntu-24.04
3131
steps:
3232
- name: Install dependencies
3333
shell: bash
@@ -42,7 +42,7 @@ jobs:
4242
fi
4343
4444
- name: Cache Doxygen build
45-
uses: actions/cache@v4
45+
uses: actions/cache@v5
4646
with:
4747
path: .doxygen_build
4848
key: Linux-Clang-Doxygen-${{ env.DOXYGEN_VER }}-${{ env.DOXYGEN_CACHE_REV }}
@@ -65,17 +65,17 @@ jobs:
6565
6666
boost_build:
6767
name: Boost Build
68-
runs-on: ubuntu-22.04
68+
runs-on: ubuntu-24.04
6969
steps:
7070
- name: Install dependencies
7171
shell: bash
7272
run: |
7373
sudo apt-get -y update
7474
sudo apt-get -y install \
75-
clang-14
75+
clang-18
7676
7777
- name: Cache Boost build
78-
uses: actions/cache@v4
78+
uses: actions/cache@v5
7979
with:
8080
path: .boost_build
8181
key: Linux-Clang-Boost-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
@@ -99,7 +99,7 @@ jobs:
9999
100100
doxygen:
101101
name: Doxygen
102-
runs-on: ubuntu-22.04
102+
runs-on: ubuntu-24.04
103103
needs: doxygen_build
104104
steps:
105105
- name: Install dependencies
@@ -108,19 +108,18 @@ jobs:
108108
sudo apt-get -y update
109109
sudo apt-get -y install \
110110
autoconf-archive \
111-
clang-13 \
112-
clang-14 \
111+
clang-18 \
113112
dos2unix \
114113
graphviz \
115114
iwyu
116115
117116
- name: Checkout
118-
uses: actions/checkout@v4
117+
uses: actions/checkout@v6
119118
with:
120119
submodules: recursive
121120

122121
- name: Restore Doxygen build
123-
uses: actions/cache@v4
122+
uses: actions/cache@v5
124123
with:
125124
path: .doxygen_build
126125
key: Linux-Clang-Doxygen-${{ env.DOXYGEN_VER }}-${{ env.DOXYGEN_CACHE_REV }}
@@ -144,7 +143,7 @@ jobs:
144143
../configure $DISTCHECK_CONFIGURE_FLAGS
145144
146145
- name: Cache documents
147-
uses: actions/cache@v4
146+
uses: actions/cache@v5
148147
with:
149148
path: .doxygen/doc
150149
key: Linux-Clang-documents-${{ github.run_number }}
@@ -157,7 +156,7 @@ jobs:
157156
158157
lint:
159158
name: Lint
160-
runs-on: ubuntu-22.04
159+
runs-on: ubuntu-24.04
161160
needs: boost_build
162161
steps:
163162
- name: Install dependencies
@@ -166,19 +165,18 @@ jobs:
166165
sudo apt-get -y update
167166
sudo apt-get -y install \
168167
autoconf-archive \
169-
clang-13 \
170-
clang-14 \
168+
clang-18 \
171169
dos2unix \
172170
graphviz \
173171
iwyu
174172
175173
- name: Checkout
176-
uses: actions/checkout@v4
174+
uses: actions/checkout@v6
177175
with:
178176
submodules: recursive
179177

180178
- name: Restore Boost build
181-
uses: actions/cache@v4
179+
uses: actions/cache@v5
182180
with:
183181
path: .boost_build
184182
key: Linux-Clang-Boost-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
@@ -209,7 +207,7 @@ jobs:
209207
210208
build:
211209
name: Build
212-
runs-on: ubuntu-22.04
210+
runs-on: ubuntu-24.04
213211
needs: boost_build
214212
steps:
215213
- name: Install dependencies
@@ -218,19 +216,18 @@ jobs:
218216
sudo apt-get -y update
219217
sudo apt-get -y install \
220218
autoconf-archive \
221-
clang-13 \
222-
clang-14 \
219+
clang-18 \
223220
dos2unix \
224221
graphviz \
225222
iwyu
226223
227224
- name: Checkout
228-
uses: actions/checkout@v4
225+
uses: actions/checkout@v6
229226
with:
230227
submodules: recursive
231228

232229
- name: Restore Boost build
233-
uses: actions/cache@v4
230+
uses: actions/cache@v5
234231
with:
235232
path: .boost_build
236233
key: Linux-Clang-Boost-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
@@ -254,7 +251,7 @@ jobs:
254251
../configure $DISTCHECK_CONFIGURE_FLAGS
255252
256253
- name: Cache archives
257-
uses: actions/cache@v4
254+
uses: actions/cache@v5
258255
with:
259256
path: .build/tetengo-*
260257
key: Linux-Clang-archives-${{ github.run_number }}
@@ -274,17 +271,17 @@ jobs:
274271
275272
artifact:
276273
name: Artifact Collection
277-
runs-on: ubuntu-22.04
274+
runs-on: ubuntu-24.04
278275
needs: [ doxygen, build ]
279276
steps:
280277
- name: Restore documents
281-
uses: actions/cache@v4
278+
uses: actions/cache@v5
282279
with:
283280
path: .doxygen/doc
284281
key: Linux-Clang-documents-${{ github.run_number }}
285282

286283
- name: Restore archives
287-
uses: actions/cache@v4
284+
uses: actions/cache@v5
288285
with:
289286
path: .build/tetengo-*
290287
key: Linux-Clang-archives-${{ github.run_number }}
@@ -297,7 +294,7 @@ jobs:
297294
mv .build/tetengo-* artifacts
298295
299296
- name: Upload artifacts
300-
uses: actions/upload-artifact@v4
297+
uses: actions/upload-artifact@v7
301298
with:
302299
name: artifacts-linux
303300
path: artifacts

.github/workflows/linux-gcc.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,29 @@ on:
1414

1515
env:
1616
CONCURRENT_BUILD: 4
17-
GCC_COMMAND: gcc-12
18-
GXX_COMMAND: g++-12
19-
BOOST_VER: 1_88_0
20-
BOOST_VER_DOT: 1.88.0
17+
GCC_COMMAND: gcc-14
18+
GXX_COMMAND: g++-14
19+
BOOST_VER: 1_91_0
20+
BOOST_VER_DOT: 1.91.0
2121
BOOST_BOOTSTRAP_TOOLSET: gcc
22-
BOOST_TOOLSET: gcc-12
22+
BOOST_TOOLSET: gcc-14
2323
BOOST_CACHE_REV: 0
2424

2525
jobs:
2626
boost_build:
2727
name: Boost Build
28-
runs-on: ubuntu-22.04
28+
runs-on: ubuntu-24.04
2929
steps:
3030
- name: Install dependencies
3131
shell: bash
3232
run: |
3333
sudo apt-get -y update
3434
sudo apt-get -y install \
35-
gcc-12 \
36-
g++-12
35+
gcc-14 \
36+
g++-14
3737
3838
- name: Cache Boost build
39-
uses: actions/cache@v4
39+
uses: actions/cache@v5
4040
with:
4141
path: .boost_build
4242
key: Linux-GCC-Boost-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}
@@ -60,7 +60,7 @@ jobs:
6060
6161
build:
6262
name: Build
63-
runs-on: ubuntu-22.04
63+
runs-on: ubuntu-24.04
6464
needs: boost_build
6565
steps:
6666
- name: Install dependencies
@@ -69,16 +69,16 @@ jobs:
6969
sudo apt-get -y update
7070
sudo apt-get -y install \
7171
autoconf-archive \
72-
gcc-12 \
73-
g++-12
72+
gcc-14 \
73+
g++-14
7474
7575
- name: Checkout
76-
uses: actions/checkout@v4
76+
uses: actions/checkout@v6
7777
with:
7878
submodules: recursive
7979

8080
- name: Restore Boost build
81-
uses: actions/cache@v4
81+
uses: actions/cache@v5
8282
with:
8383
path: .boost_build
8484
key: Linux-GCC-Boost-${{ env.BOOST_VER }}-${{ env.BOOST_CACHE_REV }}

0 commit comments

Comments
 (0)