Skip to content

Commit 15baba4

Browse files
committed
ci: Build with installed tests enabled by default
1 parent 365f9c1 commit 15baba4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ jobs:
8585
CC: ${{ matrix.compiler }}
8686
BASE_CFLAGS: -Wp,-D_FORTIFY_SOURCE=2
8787
BUILDDIR: builddir
88+
CONFIG_OPTS: -Dinstalled_tests=true
8889

8990
steps:
9091
- name: Install Dependencies
@@ -141,7 +142,7 @@ jobs:
141142
uses: actions/checkout@v4
142143

143144
- name: Configure flatpak-builder
144-
run: meson setup --wrap-mode nodownload ${BUILDDIR} .
145+
run: meson setup --wrap-mode nodownload ${CONFIG_OPTS} ${BUILDDIR} .
145146

146147
- name: Build flatpak-builder with Meson
147148
run: meson compile -C ${BUILDDIR}
@@ -168,7 +169,7 @@ jobs:
168169
installed-test-logs/
169170
170171
- name: Configure flatpak-builder with Meson wraps
171-
run: meson setup --wrap-mode=forcefallback ${BUILDDIR}_wrap .
172+
run: meson setup --wrap-mode=forcefallback ${CONFIG_OPTS} ${BUILDDIR}_wrap .
172173

173174
- name: Build flatpak-builder with Meson wraps
174175
run: meson compile -C ${BUILDDIR}_wrap

0 commit comments

Comments
 (0)