aboutsummaryrefslogtreecommitdiff
path: root/.builds
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2021-06-15 00:00:25 +0200
committerSimon Ser <contact@emersion.fr>2021-06-17 11:02:30 +0200
commit8d2a94b0dfd2934392dd920e2f4982ac0ecb3d7c (patch)
tree5706e7cad82dec176ff43412704bb969ca690a34 /.builds
parentcb6db86a2832564ec862d95b1ae14a47a9f4572f (diff)
ci: Build both static and shared
This allows us to validate the objcopy trick in CI. It's basically free to build both static and shared libraries anyway. We only enable this for GCC builds right now, as Meson currently lacks support for prelinking with other compilers.
Diffstat (limited to '.builds')
-rw-r--r--.builds/alpine.yml2
-rw-r--r--.builds/archlinux.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml
index d69d5fbb..f13c892f 100644
--- a/.builds/alpine.yml
+++ b/.builds/alpine.yml
@@ -19,7 +19,7 @@ sources:
tasks:
- setup: |
cd wlroots
- meson build -Dauto_features=enabled -Dlibseat=disabled -Dxcb-errors=disabled
+ meson build --default-library=both -Dauto_features=enabled -Dlibseat=disabled -Dxcb-errors=disabled
- build: |
cd wlroots
ninja -C build
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
index 12b84787..6986ea6a 100644
--- a/.builds/archlinux.yml
+++ b/.builds/archlinux.yml
@@ -20,7 +20,7 @@ sources:
tasks:
- setup: |
cd wlroots
- CC=gcc meson build-gcc -Dauto_features=enabled --prefix /usr
+ CC=gcc meson build-gcc --default-library=both -Dauto_features=enabled --prefix /usr
CC=clang meson build-clang -Dauto_features=enabled
- gcc: |
cd wlroots/build-gcc