mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-09-13 00:59:46 -04:00
Better definition of env variables
This commit is contained in:
parent
b24157ddf9
commit
2d0cff2dc1
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -9,6 +9,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
macOS:
|
macOS:
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
|
env:
|
||||||
|
HOME: /Users/runner
|
||||||
steps:
|
steps:
|
||||||
- name: Retrieve source code
|
- name: Retrieve source code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -19,14 +21,16 @@ jobs:
|
|||||||
brew install pkg-config ninja meson
|
brew install pkg-config ninja meson
|
||||||
|
|
||||||
- name: Install dependences
|
- name: Install dependences
|
||||||
|
env:
|
||||||
|
ARCHIVE_NAME: deps2_osx_native_dyn_libkiwix.tar.xz
|
||||||
run: |
|
run: |
|
||||||
ARCHIVE_NAME=deps2_osx_native_dyn_libkiwix.tar.xz
|
|
||||||
wget -O- http://tmp.kiwix.org/ci/${ARCHIVE_NAME} | tar -xJ -C $HOME
|
wget -O- http://tmp.kiwix.org/ci/${ARCHIVE_NAME} | tar -xJ -C $HOME
|
||||||
|
|
||||||
- name: Compile source code
|
- name: Compile source code
|
||||||
|
env:
|
||||||
|
PKG_CONFIG_PATH: ${{env.HOME}}/BUILD_native_dyn/INSTALL/lib/pkgconfig
|
||||||
|
CPPFLAGS: -I${{env.HOME}}/BUILD_native_dyn/INSTALL/include
|
||||||
run: |
|
run: |
|
||||||
export PKG_CONFIG_PATH=$HOME/BUILD_native_dyn/INSTALL/lib/pkgconfig
|
|
||||||
export CPPFLAGS="-I$HOME/BUILD_native_dyn/INSTALL/include"
|
|
||||||
meson . build --default-library=shared -Db_coverage=true
|
meson . build --default-library=shared -Db_coverage=true
|
||||||
cd build
|
cd build
|
||||||
ninja
|
ninja
|
||||||
@ -34,8 +38,8 @@ jobs:
|
|||||||
- 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
|
||||||
run: |
|
run: |
|
||||||
export LD_LIBRARY_PATH=$HOME/BUILD_native_dyn/INSTALL/lib:$HOME/BUILD_native_dyn/INSTALL/lib64
|
|
||||||
cd build
|
cd build
|
||||||
meson test --verbose
|
meson test --verbose
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user