Skip to content

Commit 298b1b5

Browse files
committed
Update to new compilers and c++23 standard
1 parent 441c509 commit 298b1b5

26 files changed

Lines changed: 447 additions & 191 deletions

.github/actions/check_cache/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runs:
2727
2828
- name: Cache conan packages
2929
id: check-cache
30-
uses: actions/cache@v4
30+
uses: actions/cache@v5
3131
with:
3232
path: ${{env.CONAN_STORAGE}}
3333
key: ${{inputs.profile}}

.github/actions/enable_conan/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919

2020
- name: Cache conan packages
2121
id: cache
22-
uses: actions/cache@v4
22+
uses: actions/cache@v5
2323
with:
2424
path: ${{env.CONAN_STORAGE}}
2525
key: ${{inputs.profile}}
@@ -35,7 +35,7 @@ runs:
3535
- name: Always Save Cache
3636
id: cache-save
3737
if: always() && steps.cache.outputs.cache-hit != 'true'
38-
uses: actions/cache/save@v4
38+
uses: actions/cache/save@v5
3939
with:
4040
path: ${{env.CONAN_STORAGE}}
4141
key: ${{inputs.profile}}

.github/actions/enable_python/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111

1212
- name: Cache dependencies
1313
id: cache
14-
uses: actions/cache@v4
14+
uses: actions/cache@v5
1515
with:
1616
path: ${{ env.pythonLocation }}
1717
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}

.github/actions/setup_ubuntu_env/action.yaml

Lines changed: 45 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,52 +7,48 @@ runs:
77
shell: bash
88
run: |
99
sudo apt-get update
10-
sudo apt-get install -y libgl-dev \
11-
libgl-dev \
12-
libgl1-mesa-dev \
13-
libx11-dev \
14-
libx11-xcb-dev \
15-
libfontenc-dev \
16-
libice-dev \
17-
libsm-dev \
18-
libxau-dev \
19-
libxaw7-dev \
20-
libx11-xcb-dev \
21-
libfontenc-dev \
22-
libxcomposite-dev \
23-
libxcursor-dev \
24-
libxdamage-dev \
25-
libxfixes-dev \
26-
libxi-dev \
27-
libxinerama-dev \
28-
libxmu-dev \
29-
libxmuu-dev \
30-
libxpm-dev \
31-
libxrandr-dev \
32-
libxres-dev \
33-
libxss-dev \
34-
libxtst-dev \
35-
libxv-dev \
36-
libxxf86vm-dev \
37-
libxcb-glx0-dev \
38-
libxcb-render-util0-dev \
39-
libxcb-xkb-dev \
40-
libxcb-icccm4-dev \
41-
libxcb-image0-dev \
42-
libxcb-keysyms1-dev \
43-
libxcb-randr0-dev \
44-
libxcb-shape0-dev \
45-
libxcb-sync-dev \
46-
libxcb-xfixes0-dev \
47-
libxcb-xinerama0-dev \
48-
libxcb-dri3-dev \
49-
libxcb-cursor-dev \
50-
libxcb-dri2-0-dev \
51-
libxcb-dri3-dev \
52-
libxcb-present-dev \
53-
libxcb-composite0-dev \
54-
libxcb-ewmh-dev \
55-
libxcb-res0-dev \
56-
libxv-dev \
57-
libxcb-util-dev \
58-
libxcb-util0-dev
10+
sudo apt-get update && sudo apt-get install -y \
11+
libfontenc-dev \
12+
libgl-dev \
13+
libgl1-mesa-dev \
14+
libice-dev \
15+
libsm-dev \
16+
libx11-dev \
17+
libx11-xcb-dev \
18+
libxau-dev \
19+
libxaw7-dev \
20+
libxcb-composite0-dev \
21+
libxcb-cursor-dev \
22+
libxcb-dri2-0-dev \
23+
libxcb-dri3-dev \
24+
libxcb-ewmh-dev \
25+
libxcb-glx0-dev \
26+
libxcb-icccm4-dev \
27+
libxcb-image0-dev \
28+
libxcb-keysyms1-dev \
29+
libxcb-present-dev \
30+
libxcb-randr0-dev \
31+
libxcb-render-util0-dev \
32+
libxcb-res0-dev \
33+
libxcb-shape0-dev \
34+
libxcb-sync-dev \
35+
libxcb-util-dev \
36+
libxcb-util0-dev \
37+
libxcb-xfixes0-dev \
38+
libxcb-xinerama0-dev \
39+
libxcb-xkb-dev \
40+
libxcomposite-dev \
41+
libxcursor-dev \
42+
libxdamage-dev \
43+
libxfixes-dev \
44+
libxi-dev \
45+
libxinerama-dev \
46+
libxmu-dev \
47+
libxmuu-dev \
48+
libxpm-dev \
49+
libxrandr-dev \
50+
libxres-dev \
51+
libxss-dev \
52+
libxtst-dev \
53+
libxv-dev \
54+
libxxf86vm-dev

.github/workflows/build.yaml

Lines changed: 15 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -16,122 +16,92 @@ jobs:
1616
uses: ./.github/workflows/make_cache.yaml
1717

1818
linux-x64-build:
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-26.04
2020
needs: [cache]
2121
permissions:
2222
id-token: write
2323
contents: read
2424
checks: write
2525
attestations: write
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v7
2828
with:
2929
fetch-depth: 0
3030

3131
- uses: ./.github/actions/setup_ubuntu_env
3232
- uses: ./.github/actions/enable_python
3333
- uses: ./.github/actions/conan_build
3434
with:
35-
profile: linux-gcc12_x64
35+
profile: linux-gcc15_x64
3636

3737
- uses: ./.github/actions/tests
3838
with:
3939
testdir: build/Release
40-
name: linux-gcc12_x64 tests
40+
name: linux-gcc15_x64 tests
4141

4242
- uses: ./.github/actions/deploy
4343
if: inputs.deploy
4444
with:
4545
builddir: build/Release
46-
artifact: linux-gcc12_x64
46+
artifact: linux-gcc15_x64
4747
attestation: ${{inputs.attestation}}
4848

4949
macos-arm-build:
50-
runs-on: macos-14
50+
runs-on: macos-26
5151
needs: [cache]
5252
permissions:
5353
id-token: write
5454
contents: read
5555
checks: write
5656
attestations: write
5757
steps:
58-
- uses: actions/checkout@v4
58+
- uses: actions/checkout@v7
5959
with:
6060
fetch-depth: 0
6161

6262
- uses: ./.github/actions/enable_python_macos
6363
- uses: ./.github/actions/conan_build
6464
with:
65-
profile: macos-clang15_arm
65+
profile: macos-clang17_arm
6666

6767
- uses: ./.github/actions/tests
6868
with:
6969
testdir: build/Release
70-
name: macos-clang15_arm tests
70+
name: macos-clang17_arm tests
7171

7272
- uses: ./.github/actions/deploy
7373
if: inputs.deploy
7474
with:
7575
builddir: build/Release
76-
artifact: macos-clang15_arm
77-
attestation: ${{inputs.attestation}}
78-
79-
macos-x64-build:
80-
runs-on: macos-13
81-
needs: [cache]
82-
permissions:
83-
id-token: write
84-
contents: read
85-
checks: write
86-
attestations: write
87-
steps:
88-
- uses: actions/checkout@v4
89-
with:
90-
fetch-depth: 0
91-
92-
- uses: ./.github/actions/enable_python_macos
93-
- uses: ./.github/actions/conan_build
94-
with:
95-
profile: macos-clang15_x64
96-
97-
- uses: ./.github/actions/tests
98-
with:
99-
testdir: build/Release
100-
name: macos-clang15_x64 tests
101-
102-
- uses: ./.github/actions/deploy
103-
if: inputs.deploy
104-
with:
105-
builddir: build/Release
106-
artifact: macos-clang15_x64
76+
artifact: macos-clang17_arm
10777
attestation: ${{inputs.attestation}}
10878

10979
win-x64-build:
110-
runs-on: windows-2022
80+
runs-on: windows-2025-vs2026
11181
needs: [cache]
11282
permissions:
11383
id-token: write
11484
contents: read
11585
checks: write
11686
attestations: write
11787
steps:
118-
- uses: actions/checkout@v4
88+
- uses: actions/checkout@v7
11989
with:
12090
fetch-depth: 0
12191

12292
- uses: ./.github/actions/enable_python
12393
- uses: ./.github/actions/conan_build
12494
with:
125-
profile: win-msvc194_x64
95+
profile: win-msvc195_x64
12696

12797
- uses: ./.github/actions/tests
12898
with:
12999
testdir: build
130-
name: win-msvc194_x64 tests
100+
name: win-msvc195_x64 tests
131101

132102
- uses: ./.github/actions/deploy
133103
if: inputs.deploy
134104
with:
135105
builddir: build
136-
artifact: win-msvc194_x64
106+
artifact: win-msvc195_x64
137107
attestation: ${{inputs.attestation}}

.github/workflows/check_cache.yaml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,45 +13,34 @@ on:
1313

1414
jobs:
1515
linux-x64-check-cache:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-26.04
1717
outputs:
1818
exists: ${{steps.check-cache.outputs.exists}}
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v7
2121
- uses: ./.github/actions/check_cache
2222
id: check-cache
2323
with:
24-
profile: linux-gcc12_x64
24+
profile: linux-gcc15_x64
2525

2626
macos-arm-check-cache:
27-
runs-on: macos-14
27+
runs-on: macos-26
2828
outputs:
2929
exists: ${{steps.check-cache.outputs.exists}}
3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v7
3232
- uses: ./.github/actions/check_cache
3333
id: check-cache
3434
with:
35-
profile: macos-clang15_arm
35+
profile: macos-clang17_arm
3636

37-
macos-x64-check-cache:
38-
runs-on: macos-13
39-
outputs:
40-
exists: ${{steps.check-cache.outputs.exists}}
41-
steps:
42-
- uses: actions/checkout@v4
43-
- uses: ./.github/actions/check_cache
44-
id: check-cache
45-
with:
46-
profile: macos-clang15_x64
47-
4837
win-x64-check-cache:
49-
runs-on: windows-2022
38+
runs-on: windows-2025-vs2026
5039
outputs:
5140
exists: ${{steps.check-cache.outputs.exists}}
5241
steps:
53-
- uses: actions/checkout@v4
42+
- uses: actions/checkout@v7
5443
- uses: ./.github/actions/check_cache
5544
id: check-cache
5645
with:
57-
profile: win-msvc194_x64
46+
profile: win-msvc195_x64

.github/workflows/make_cache.yaml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,46 +7,35 @@ jobs:
77
uses: ./.github/workflows/check_cache.yaml
88

99
linux-x64-make-cache:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-26.04
1111
needs: [check-cache]
1212
if: ${{ needs.check-cache.outputs.linux_x64_hit == false }}
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v7
1515
- uses: ./.github/actions/setup_ubuntu_env
1616
- uses: ./.github/actions/enable_python
1717
- uses: ./.github/actions/enable_conan
1818
with:
19-
profile: linux-gcc12_x64
19+
profile: linux-gcc15_x64
2020

2121
macos-arm-make-cache:
22-
runs-on: macos-14
22+
runs-on: macos-26
2323
needs: [check-cache]
2424
if: ${{ needs.check-cache.outputs.macos_arm_hit == false }}
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v7
2727
- uses: ./.github/actions/enable_python_macos
2828
- uses: ./.github/actions/enable_conan
2929
with:
30-
profile: macos-clang15_arm
30+
profile: macos-clang17_arm
3131

32-
macos-x64-make-cache:
33-
runs-on: macos-13
34-
needs: [check-cache]
35-
if: ${{ needs.check-cache.outputs.macos_x64_hit == false }}
36-
steps:
37-
- uses: actions/checkout@v4
38-
- uses: ./.github/actions/enable_python_macos
39-
- uses: ./.github/actions/enable_conan
40-
with:
41-
profile: macos-clang15_x64
42-
4332
win-x64-make-cache:
44-
runs-on: windows-2022
33+
runs-on: windows-2025-vs2026
4534
needs: [check-cache]
4635
if: ${{ needs.check-cache.outputs.win_x64_hit == false }}
4736
steps:
48-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v7
4938
- uses: ./.github/actions/enable_python
5039
- uses: ./.github/actions/enable_conan
5140
with:
52-
profile: win-msvc194_x64
41+
profile: win-msvc195_x64

0 commit comments

Comments
 (0)