From cb4938c5f892ed525b1bd72f3208b03b8af2c676 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Sun, 19 Feb 2023 16:21:30 +0100 Subject: [PATCH] Improve a bit the readability of the workflow --- .github/workflows/ci.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b2512930..5ec0a1927 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,24 +10,29 @@ jobs: macOS: runs-on: macos-12 steps: - - name: Checkout code + - name: Retrieve source code uses: actions/checkout@v3 + - name: Setup python 3.9 uses: actions/setup-python@v3 with: python-version: '3.9' + - name: Install packages run: | brew update brew install gcovr pkg-config ninja || brew link --overwrite python + - name: Install python modules run: pip3 install meson==0.49.2 pytest - - name: Install deps + + - name: Install dependences shell: bash run: | ARCHIVE_NAME=deps2_osx_native_dyn_libkiwix.tar.xz wget -O- http://tmp.kiwix.org/ci/${ARCHIVE_NAME} | tar -xJ -C $HOME - - name: Compile + + - name: Compile source code shell: bash run: | export PKG_CONFIG_PATH=$HOME/BUILD_native_dyn/INSTALL/lib/pkgconfig @@ -35,14 +40,15 @@ jobs: meson . build --default-library=shared -Db_coverage=true cd build ninja - - name: Test + + - name: Test libkiwix + env: + SKIP_BIG_MEMORY_TEST: 1 shell: bash run: | export LD_LIBRARY_PATH=$HOME/BUILD_native_dyn/INSTALL/lib:$HOME/BUILD_native_dyn/INSTALL/lib64 cd build meson test --verbose - env: - SKIP_BIG_MEMORY_TEST: 1 Linux: strategy: