File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,17 @@ concurrency:
23
23
jobs :
24
24
ubuntu-build :
25
25
runs-on : ubuntu-22.04
26
+ strategy :
27
+ matrix :
28
+ include :
29
+ - {shared: ON}
30
+ - {shared: OFF}
26
31
steps :
27
32
- uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
28
33
- name : Setup Ninja
29
34
run : sudo apt-get install ninja-build
30
35
- name : Prepare
31
- run : cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=destination -B build
36
+ run : cmake -G Ninja -DBUILD_SHARED_LIBS=${{matrix.shared}} - DCMAKE_INSTALL_PREFIX:PATH=destination -B build
32
37
- name : Build
33
38
run : cmake --build build -j=2
34
39
- name : Install
37
42
run : cmake -DCMAKE_INSTALL_PREFIX:PATH=../../destination -S tests/installation -B buildbabyada
38
43
- name : Build test package
39
44
run : cmake --build buildbabyada
45
+ - name : Run example
46
+ run : ./buildbabyada/main
You can’t perform that action at this time.
0 commit comments