Merge pull request #694 from kiwix/kelson42-patch-1

Fix macOS CI
This commit is contained in:
Kelson 2022-01-28 10:45:42 +01:00 committed by GitHub
commit dd3338c2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 12 deletions

View File

@ -8,10 +8,10 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v1 uses: actions/checkout@v1
- name: Setup python 3.5 - name: Setup python 3.10
uses: actions/setup-python@v1 uses: actions/setup-python@v2
with: with:
python-version: '3.5' python-version: '3.10'
- name: Install packages - name: Install packages
run: | run: |
brew update brew update
@ -37,17 +37,8 @@ jobs:
export LD_LIBRARY_PATH=$HOME/BUILD_native_dyn/INSTALL/lib:$HOME/BUILD_native_dyn/INSTALL/lib64 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
ninja coverage
env: env:
SKIP_BIG_MEMORY_TEST: 1 SKIP_BIG_MEMORY_TEST: 1
- name: Publish coverage
shell: bash
run: |
curl https://codecov.io/bash -o codecov.sh
bash codecov.sh -n osx_native_dyn -Z
rm codecov.sh
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Linux: Linux:
strategy: strategy: