Skip to content

Commit 1dcdfd6

Browse files
committed
ci: add static library compilation
Now possible since we can use uuid for fallback Signed-off-by: Boris Glimcher <[email protected]>
1 parent 904b3a3 commit 1dcdfd6

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/meson.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,26 @@ jobs:
4848
name: Linux_Meson_log
4949
path: build/meson-logs/meson-log.txt
5050

51+
build-static:
52+
runs-on: ubuntu-latest
53+
steps:
54+
- name: install libraries
55+
run: sudo apt-get install -y libpam-dev libcap-ng-dev
56+
- uses: actions/checkout@v3
57+
- uses: actions/setup-python@v3
58+
- uses: BSFishy/[email protected]
59+
with:
60+
setup-options: --werror --wrap-mode=forcefallback --default-library=static
61+
options: --verbose
62+
action: test
63+
meson-version: 0.61.2
64+
# Preserve meson's log file on failure
65+
- uses: actions/upload-artifact@v3
66+
if: failure()
67+
with:
68+
name: Linux_Meson_log
69+
path: build/meson-logs/meson-log.txt
70+
5171
code-coverage:
5272
runs-on: ubuntu-latest
5373
steps:

0 commit comments

Comments
 (0)