Commit 8dd0bb4 1 parent 986f98f commit 8dd0bb4 Copy full SHA for 8dd0bb4
File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,22 @@ on: [push, pull_request]
4
4
5
5
jobs :
6
6
build :
7
- name : ubuntu:22.04 -release
8
- runs-on : ubuntu-22.04
7
+ name : ${{matrix.os}} -release-${{matrix.lib}}
8
+ runs-on : ${{matrix.os}}
9
9
env :
10
10
CMAKE_GENERATOR : Ninja
11
11
DEBIAN_FRONTEND : noninteractive
12
12
defaults :
13
13
run :
14
14
shell : bash -e -o pipefail {0}
15
+ strategy :
16
+ matrix :
17
+ os :
18
+ - ubuntu-22.04
19
+ - ubuntu-24.04
20
+ lib :
21
+ - shared
22
+ - static
15
23
steps :
16
24
- name : install dependencies
17
25
run : |
26
34
- name : configure
27
35
run : |
28
36
cmake -S . -B build \
29
- -DCMAKE_BUILD_TYPE=Release
37
+ -DCMAKE_BUILD_TYPE=Release \
38
+ -DBUILD_SHARED_LIBS=${{matrix.lib == 'shared'}}
30
39
- name : build
31
40
run : |
32
41
cmake --build build
You can’t perform that action at this time.
0 commit comments