Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a CI for wasm. #746

Merged
merged 1 commit into from
Nov 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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