mirror of https://github.com/kiwix/libkiwix.git
Simplify ninja and meson calls
This commit is contained in:
parent
cfe3f8e3d9
commit
a04646b7b2
|
@ -20,11 +20,11 @@ jobs:
|
||||||
brew update
|
brew update
|
||||||
brew install pkg-config ninja meson
|
brew install pkg-config ninja meson
|
||||||
|
|
||||||
- name: Install dependences
|
- name: Install dependencies
|
||||||
env:
|
env:
|
||||||
ARCHIVE_NAME: deps2_osx_native_dyn_libkiwix.tar.xz
|
ARCHIVE_NAME: deps2_osx_native_dyn_libkiwix.tar.xz
|
||||||
run: |
|
run: |
|
||||||
wget -O- https://tmp.kiwix.org/ci/${ARCHIVE_NAME} | tar -xJ -C $HOME
|
wget -O- https://tmp.kiwix.org/ci/${{env.ARCHIVE_NAME}} | tar -xJ -C ${{env.HOME}}
|
||||||
|
|
||||||
- name: Compile source code
|
- name: Compile source code
|
||||||
env:
|
env:
|
||||||
|
@ -32,16 +32,13 @@ jobs:
|
||||||
CPPFLAGS: -I${{env.HOME}}/BUILD_native_dyn/INSTALL/include
|
CPPFLAGS: -I${{env.HOME}}/BUILD_native_dyn/INSTALL/include
|
||||||
run: |
|
run: |
|
||||||
meson . build --default-library=shared -Db_coverage=true
|
meson . build --default-library=shared -Db_coverage=true
|
||||||
cd build
|
ninja -C build
|
||||||
ninja
|
|
||||||
|
|
||||||
- name: Test libkiwix
|
- name: Test libkiwix
|
||||||
env:
|
env:
|
||||||
SKIP_BIG_MEMORY_TEST: 1
|
SKIP_BIG_MEMORY_TEST: 1
|
||||||
LD_LIBRARY_PATH: ${{env.HOME}}/BUILD_native_dyn/INSTALL/lib:${{env.HOME}}/BUILD_native_dyn/INSTALL/lib64
|
LD_LIBRARY_PATH: ${{env.HOME}}/BUILD_native_dyn/INSTALL/lib:${{env.HOME}}/BUILD_native_dyn/INSTALL/lib64
|
||||||
run: |
|
run: meson test -C build --verbose
|
||||||
cd build
|
|
||||||
meson test --verbose
|
|
||||||
|
|
||||||
Linux:
|
Linux:
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Reference in New Issue