@@ -4,14 +4,14 @@ name: CI
4
4
on : [push, pull_request]
5
5
6
6
jobs :
7
- windows :
8
- name : " ${{matrix.generator}} ${{matrix. toolset}} Boost ${{matrix.boost_version}} ${{matrix. build_type}} ${{matrix.name_args }}"
7
+ windows-cmake :
8
+ name : " ${{matrix.toolset}} ${{matrix.build_type}} C++ ${{matrix.cxxstd }}"
9
9
runs-on : ${{matrix.os}}
10
10
defaults :
11
11
run :
12
12
shell : bash
13
13
strategy :
14
- # fail-fast: false
14
+ fail-fast : false
15
15
matrix :
16
16
include :
17
17
- { toolset: msvc-14.2, os: windows-2019, generator: "Visual Studio 16 2019", cxxstd: '17', build-type: 'Debug' }
@@ -79,13 +79,42 @@ jobs:
79
79
--toolset ${{ matrix.toolset }} \
80
80
--generator "${{ matrix.generator }}"
81
81
82
- posix :
82
+ windows-b2 :
83
+ name : " ${{matrix.toolset}}"
84
+ runs-on : ${{matrix.os}}
85
+ defaults :
86
+ run :
87
+ shell : bash
88
+ strategy :
89
+ fail-fast : false
90
+ matrix :
91
+ include :
92
+ - { toolset: msvc-14.2, os: windows-2019 }
93
+ - { toolset: msvc-14.3, os: windows-2022 }
94
+ steps :
95
+ - name : Checkout
96
+ uses : actions/checkout@v3
97
+
98
+ - name : Install dependencies
99
+ run : choco install openssl
100
+
101
+ - name : Setup Boost
102
+ run : python3 tools/ci.py setup-boost --source-dir=$(pwd)
103
+
104
+ - name : Build and run project tests using B2
105
+ run : |
106
+ python3 tools/ci.py run-b2-tests \
107
+ --toolset ${{ matrix.toolset }} \
108
+ --cxxstd 17,20 \
109
+ --variant debug,release
110
+
111
+ posix-cmake :
83
112
defaults :
84
113
run :
85
114
shell : bash
86
115
87
116
strategy :
88
- # fail-fast: false
117
+ fail-fast : false
89
118
matrix :
90
119
include :
91
120
- { toolset: gcc-11, install: g++-11, os: ubuntu-22.04, cxxstd: '17', build-type: 'Debug', ldflags: '' }
@@ -155,3 +184,33 @@ jobs:
155
184
--build-type ${{ matrix.build-type }} \
156
185
--cxxstd ${{ matrix.cxxstd }} \
157
186
--toolset ${{ matrix.toolset }}
187
+
188
+ posix-b2 :
189
+ defaults :
190
+ run :
191
+ shell : bash
192
+
193
+ strategy :
194
+ fail-fast : false
195
+ matrix :
196
+ include :
197
+ - { toolset: gcc-11, install: g++-11, cxxstd: "11,17,20" } # Having C++11 shouldn't break the build
198
+ - { toolset: clang-14, install: clang-11, cxxstd: "17,20" }
199
+ name : " ${{ matrix.toolset }}"
200
+ runs-on : ubuntu-22.04
201
+ steps :
202
+ - name : Checkout
203
+ uses : actions/checkout@v3
204
+
205
+ - name : Install dependencies
206
+ run : sudo apt-get -y install python3 ${{ matrix.install }}
207
+
208
+ - name : Setup Boost
209
+ run : ./tools/ci.py setup-boost --source-dir=$(pwd)
210
+
211
+ - name : Build and run project tests using B2
212
+ run : |
213
+ python3 tools/ci.py run-b2-tests \
214
+ --toolset ${{ matrix.toolset }} \
215
+ --cxxstd ${{ matrix.cxxstd }} \
216
+ --variant debug,release
0 commit comments