Skip to content

Commit 104fbf8

Browse files
committed
Update workflows
1 parent 345e907 commit 104fbf8

3 files changed

Lines changed: 80 additions & 14 deletions

File tree

.github/workflows/mingw.yml

Lines changed: 69 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,55 +11,117 @@ jobs:
1111
matrix:
1212
include:
1313

14-
- win_ver: '2022'
14+
# x64
15+
- arch: 'x64'
1516
build_type: 'Release'
1617
test_libcxx20: 'Off'
1718
no_exceptions_rtti: 'Off'
1819
extra_settings: 'Off'
1920
flags: '-std=c++11'
2021

21-
- win_ver: '2022'
22+
- arch: 'x64'
2223
build_type: 'Release'
2324
test_libcxx20: 'On'
2425
no_exceptions_rtti: 'Off'
2526
extra_settings: 'Off'
2627
flags: '-std=c++26'
2728

28-
- win_ver: '2025'
29+
- arch: 'x64'
30+
build_type: 'Debug'
31+
test_libcxx20: 'On'
32+
no_exceptions_rtti: 'Off'
33+
extra_settings: 'Off'
34+
flags: '-std=c++26'
35+
36+
- arch: 'x64'
37+
build_type: 'Release'
38+
test_libcxx20: 'On'
39+
no_exceptions_rtti: 'On'
40+
extra_settings: 'Off'
41+
flags: '-std=c++26'
42+
43+
- arch: 'x64'
44+
build_type: 'Release'
45+
test_libcxx20: 'On'
46+
no_exceptions_rtti: 'Off'
47+
extra_settings: 'On'
48+
flags: '-std=c++26'
49+
50+
# x86
51+
- arch: 'x86'
52+
build_type: 'Release'
53+
test_libcxx20: 'Off'
54+
no_exceptions_rtti: 'Off'
55+
extra_settings: 'Off'
56+
flags: '-std=c++11'
57+
58+
- arch: 'x86'
59+
build_type: 'Release'
60+
test_libcxx20: 'Off'
61+
no_exceptions_rtti: 'Off'
62+
extra_settings: 'Off'
63+
flags: '-std=c++14'
64+
65+
- arch: 'x86'
66+
build_type: 'Release'
67+
test_libcxx20: 'Off'
68+
no_exceptions_rtti: 'Off'
69+
extra_settings: 'Off'
70+
flags: '-std=c++17'
71+
72+
- arch: 'x86'
73+
build_type: 'Release'
74+
test_libcxx20: 'On'
75+
no_exceptions_rtti: 'Off'
76+
extra_settings: 'Off'
77+
flags: '-std=c++20'
78+
79+
- arch: 'x86'
80+
build_type: 'Release'
81+
test_libcxx20: 'On'
82+
no_exceptions_rtti: 'Off'
83+
extra_settings: 'Off'
84+
flags: '-std=c++23'
85+
86+
- arch: 'x86'
2987
build_type: 'Release'
3088
test_libcxx20: 'On'
3189
no_exceptions_rtti: 'Off'
3290
extra_settings: 'Off'
3391
flags: '-std=c++26'
3492

35-
- win_ver: '2025'
93+
- arch: 'x86'
3694
build_type: 'Debug'
3795
test_libcxx20: 'On'
3896
no_exceptions_rtti: 'Off'
3997
extra_settings: 'Off'
4098
flags: '-std=c++26'
4199

42-
- win_ver: '2025'
100+
- arch: 'x86'
43101
build_type: 'Release'
44102
test_libcxx20: 'On'
45103
no_exceptions_rtti: 'On'
46104
extra_settings: 'Off'
47105
flags: '-std=c++26'
48106

49-
- win_ver: '2025'
107+
- arch: 'x86'
50108
build_type: 'Release'
51109
test_libcxx20: 'On'
52110
no_exceptions_rtti: 'Off'
53111
extra_settings: 'On'
54112
flags: '-std=c++26'
55113

56-
runs-on: windows-${{ matrix.win_ver }}
114+
runs-on: windows-latest
57115

58116
steps:
59117
- name: Checkout
60118
uses: actions/checkout@v6
61119
# - name: Install Ninja
62120
# run: choco install ninja
121+
- name: Setup MinGW
122+
uses: egor-tensin/setup-mingw@v3
123+
with:
124+
platform: ${{ matrix.arch }}
63125
- name: Build
64126
env:
65127
CXX: g++

.github/workflows/perf_gcc.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
include:
1313

1414
- type: 'unordered_map'
15-
gcc_ver: '14'
15+
gcc_ver: '15'
1616

1717
- type: 'unordered_map_open'
18-
gcc_ver: '14'
18+
gcc_ver: '15'
1919

2020
- type: 'map'
21-
gcc_ver: '14'
21+
gcc_ver: '15'
2222

2323
- type: 'data_table_static'
24-
gcc_ver: '14'
24+
gcc_ver: '15'
2525

2626
# x64
2727
runs-on: ubuntu-24.04
@@ -60,8 +60,12 @@ jobs:
6060
uses: actions/checkout@v6
6161
with:
6262
path: 'momo_cur'
63-
- name: Install GCC
64-
run: sudo apt install g++-${{ matrix.gcc_ver }}
63+
- name: Setup GCC
64+
uses: egor-tensin/setup-gcc@v2
65+
with:
66+
version: ${{ matrix.gcc_ver }}
67+
# - name: Install GCC
68+
# run: sudo apt install g++-${{ matrix.gcc_ver }}
6569
- name: Build
6670
run: |
6771
mkdir build

.github/workflows/win_clang.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
# - name: Install Ninja
8181
# run: choco install ninja
8282
- name: Setup Clang
83-
uses: egor-tensin/setup-clang@v1
83+
uses: egor-tensin/setup-clang@v2
8484
- name: Build
8585
env:
8686
CXXFLAGS: ${{ matrix.flags }}

0 commit comments

Comments
 (0)