File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 16
16
name : ubuntu-meson
17
17
path : |
18
18
build/
19
- example/build/
19
+ example/build/ build-ubuntu:
20
+ build-ubuntu-cmake :
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - name : install ninja-build
24
+ run : sudo apt update -y && sudo apt install -y ninja-build
25
+ - uses : actions/checkout@v2
26
+ - name : compile library
27
+ run : cmake -S . -B build && cmake --build build
28
+ - uses : actions/upload-artifact@v4
29
+ with :
30
+ name : ubuntu-cmake
31
+ path : |
32
+ build/
20
33
collect-and-release :
21
- needs : [build-ubuntu-meson]
34
+ needs : [build-ubuntu-meson, build-ubuntu-cmake ]
22
35
runs-on : ubuntu-latest
23
36
steps :
24
37
- uses : actions/checkout@v2
@@ -27,11 +40,16 @@ jobs:
27
40
with :
28
41
name : ubuntu-meson
29
42
path : ./build-ubuntu-meson
43
+ - name : Download artifact ubuntu-cmake
44
+ uses : actions/download-artifact@v4
45
+ with :
46
+ name : ubuntu-cmake
47
+ path : ./build-ubuntu-cmake
30
48
31
49
- name : ' Compress files for the linux-x64 release artifact'
32
50
shell : bash
33
51
run : |
34
- zip --junk-paths ./linux-x64.zip ./build-ubuntu-meson/build/adstool
52
+ zip --junk-paths ./linux-x64.zip ./build-ubuntu-cmake/**/*.so ./build-ubuntu-cmake/**/*.so.* ./build-ubuntu- meson/build/adstool
35
53
36
54
- name : ' Obtain the current version number from the debian changelog. We need it to create the release.'
37
55
shell : bash
You can’t perform that action at this time.
0 commit comments