Skip to content

Commit

Permalink
Add a CI for wasm.
Browse files Browse the repository at this point in the history
Now than kiwix-build compile all our dependencies we can compile for
wasm in our CI.
  • Loading branch information
mgautierfr committed Nov 16, 2022
1 parent 67496fc commit 381441e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
- android_arm64
- win32_static
- win32_dyn
- wasm
with_xapian:
- true
- false
Expand All @@ -109,6 +110,9 @@ jobs:
- target: android_arm64
image_variant: bionic
lib_postfix: '/aarch64-linux-android'
- target: wasm
image_variant: bionic
lib_postfix: '/x86_64-linux-gnu'
- target: alpine_dyn
image_variant: alpine
lib_postfix: '/x86_64-linux-musl'
Expand Down Expand Up @@ -163,6 +167,9 @@ jobs:
if [[ "${{matrix.target}}" =~ android_.* ]]; then
MESON_OPTION="$MESON_OPTION -Dstatic-linkage=true -DUSE_BUFFER_HEADER=false"
fi
if [[ "${{matrix.target}}" == wasm ]]; then
MESON_OPTION="$MESON_OPTION -Dexamples=false"
fi
cd $HOME/libzim
meson . build ${MESON_OPTION} -Dwith_xapian=${{matrix.with_xapian}}
cd build
Expand Down

0 comments on commit 381441e

Please sign in to comment.