Mercurial > hg > pub > prymula > com
comparison DPF-Prymula-audioplugins/dpf/dgl/src/pugl-upstream/.gitlab-ci.yml @ 3:84e66ea83026
DPF-Prymula-audioplugins-0.231015-2
author | prymula <prymula76@outlook.com> |
---|---|
date | Mon, 16 Oct 2023 21:53:34 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:cf2cb71d31dd | 3:84e66ea83026 |
---|---|
1 stages: | |
2 - build | |
3 - deploy | |
4 | |
5 .build_template: &build_definition | |
6 stage: build | |
7 | |
8 arm32_dbg: | |
9 <<: *build_definition | |
10 image: lv2plugin/debian-arm32 | |
11 script: | |
12 - meson setup build --cross-file=/usr/share/meson/cross/arm-linux-gnueabihf.ini -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true | |
13 - ninja -C build | |
14 | |
15 arm32_rel: | |
16 <<: *build_definition | |
17 image: lv2plugin/debian-arm32 | |
18 script: | |
19 - meson setup build --cross-file=/usr/share/meson/cross/arm-linux-gnueabihf.ini -Dbuildtype=release -Ddocs=disabled -Dstrict=true -Dwerror=true | |
20 - ninja -C build | |
21 | |
22 | |
23 arm64_dbg: | |
24 <<: *build_definition | |
25 image: lv2plugin/debian-arm64 | |
26 script: | |
27 - meson setup build --cross-file=/usr/share/meson/cross/aarch64-linux-gnu.ini -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true | |
28 - ninja -C build | |
29 | |
30 arm64_rel: | |
31 <<: *build_definition | |
32 image: lv2plugin/debian-arm64 | |
33 script: | |
34 - meson setup build --cross-file=/usr/share/meson/cross/aarch64-linux-gnu.ini -Dbuildtype=release -Ddocs=disabled -Dstrict=true -Dwerror=true | |
35 - ninja -C build | |
36 | |
37 | |
38 x64_dbg: | |
39 <<: *build_definition | |
40 image: lv2plugin/debian-x64 | |
41 script: | |
42 - meson setup build -Dbuildtype=debug -Ddocs=enabled -Dstrict=true -Dwerror=true | |
43 - ninja -C build | |
44 artifacts: | |
45 paths: | |
46 - build/doc | |
47 | |
48 x64_rel: | |
49 <<: *build_definition | |
50 image: lv2plugin/debian-x64 | |
51 script: | |
52 - meson setup build -Dbuildtype=release -Ddocs=disabled -Dstrict=true -Dwerror=true | |
53 - ninja -C build | |
54 | |
55 | |
56 x64_static: | |
57 <<: *build_definition | |
58 image: lv2plugin/debian-x64 | |
59 script: | |
60 - meson setup build -Ddefault_library=static -Ddocs=disabled -Dstrict=true -Dwerror=true | |
61 - ninja -C build | |
62 | |
63 | |
64 x64_sanitize: | |
65 <<: *build_definition | |
66 image: lv2plugin/debian-x64-clang | |
67 script: | |
68 - meson setup build -Db_lundef=false -Dbuildtype=plain -Ddocs=disabled -Dstrict=true -Dwerror=true | |
69 - ninja -C build | |
70 variables: | |
71 CC: "clang" | |
72 CXX: "clang++" | |
73 CFLAGS: "-fno-sanitize-recover=all -fsanitize=address -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=unsigned-integer-overflow -fsanitize=implicit-conversion -fsanitize=local-bounds -fsanitize=nullability" | |
74 CXXFLAGS: "-fno-sanitize-recover=all -fsanitize=address -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=unsigned-integer-overflow -fsanitize=implicit-conversion -fsanitize=local-bounds -fsanitize=nullability" | |
75 LDFLAGS: "-fno-sanitize-recover=all -fsanitize=address -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=unsigned-integer-overflow -fsanitize=implicit-conversion -fsanitize=local-bounds -fsanitize=nullability" | |
76 | |
77 | |
78 mingw32_dbg: | |
79 <<: *build_definition | |
80 image: lv2plugin/debian-mingw32 | |
81 script: | |
82 - meson setup build --cross-file=/usr/share/meson/cross/i686-w64-mingw32.ini -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true | |
83 - ninja -C build | |
84 | |
85 mingw32_rel: | |
86 <<: *build_definition | |
87 image: lv2plugin/debian-mingw32 | |
88 script: | |
89 - meson setup build --cross-file=/usr/share/meson/cross/i686-w64-mingw32.ini -Dbuildtype=release -Ddocs=disabled -Dstrict=true -Dwerror=true | |
90 - ninja -C build | |
91 | |
92 | |
93 mingw64_dbg: | |
94 <<: *build_definition | |
95 image: lv2plugin/debian-mingw64 | |
96 script: | |
97 - meson setup build --cross-file=/usr/share/meson/cross/x86_64-w64-mingw32.ini -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true | |
98 - ninja -C build | |
99 | |
100 mingw64_rel: | |
101 <<: *build_definition | |
102 image: lv2plugin/debian-mingw64 | |
103 script: | |
104 - meson setup build --cross-file=/usr/share/meson/cross/x86_64-w64-mingw32.ini -Dbuildtype=release -Ddocs=disabled -Dstrict=true -Dwerror=true | |
105 - ninja -C build | |
106 | |
107 | |
108 mac_dbg: | |
109 <<: *build_definition | |
110 tags: [macos] | |
111 script: | |
112 - meson setup build -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true | |
113 - ninja -C build | |
114 | |
115 mac_rel: | |
116 <<: *build_definition | |
117 tags: [macos] | |
118 script: | |
119 - meson setup build -Dbuildtype=release -Ddocs=disabled -Dstrict=true -Dwerror=true | |
120 - ninja -C build | |
121 | |
122 | |
123 win_dbg: | |
124 <<: *build_definition | |
125 tags: [windows,meson] | |
126 script: | |
127 - meson setup build -Dbuildtype=debug -Ddocs=disabled -Dstrict=true -Dwerror=true | |
128 - ninja -C build | |
129 | |
130 win_rel: | |
131 <<: *build_definition | |
132 tags: [windows,meson] | |
133 script: | |
134 - meson setup build -Dbuildtype=release -Ddocs=disabled -Dstrict=true -Dwerror=true | |
135 - ninja -C build | |
136 | |
137 pages: | |
138 stage: deploy | |
139 script: | |
140 - mkdir public | |
141 - mkdir public/c | |
142 - mkdir public/cpp | |
143 - mv build/doc/c/singlehtml/ public/c/singlehtml/ | |
144 - mv build/doc/cpp/singlehtml/ public/cpp/singlehtml/ | |
145 - mv build/doc/c/html/ public/c/html/ | |
146 - mv build/doc/cpp/html/ public/cpp/html/ | |
147 dependencies: | |
148 - x64_dbg | |
149 artifacts: | |
150 paths: | |
151 - public | |
152 only: | |
153 - master |