Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
ci: Build both static and shared
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kennylevinsen authored and emersion committed Jun 17, 2021
1 parent cb6db86 commit 8d2a94b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .builds/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .builds/archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d2a94b

Please sign in to comment.