Skip to content

Commit d511870

Browse files
author
rgaudin
authored
Merge pull request #126 from openzim/tests
Use released version for tests
2 parents c544bb5 + 06a8a94 commit d511870

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: test
22
on: [push]
33

44
env:
5-
LIBZIM_VERSION: 2021-10-05
5+
LIBZIM_VERSION: 7.0.0
66
LIBZIM_INCLUDE_PATH: include/zim
77
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
88
PROFILE: 1
@@ -29,9 +29,9 @@ jobs:
2929
runs-on: ${{ matrix.os }}
3030
strategy:
3131
matrix:
32-
os: [ubuntu-latest, macos-latest]
32+
os: [ubuntu-latest, macos-10.15]
3333
# TODO: expand this once macos and windows libzim releases become available
34-
# os: [ubuntu-latest, windows-latest, macos-latest]
34+
# os: [ubuntu-latest, windows-latest, macos-10.15]
3535
# alternatively we can compile libzim in docker and use the container as an action
3636
python: [3.6, 3.7, 3.8, 3.9]
3737

@@ -45,7 +45,7 @@ jobs:
4545
architecture: x64
4646

4747
- name: set macOS environ
48-
if: matrix.os == 'macos-latest'
48+
if: matrix.os == 'macos-10.15'
4949
run: |
5050
echo LIBZIM_EXT=dylib >> $GITHUB_ENV
5151
echo LIBZIM_RELEASE=libzim_macos-x86_64-$LIBZIM_VERSION >> $GITHUB_ENV
@@ -68,7 +68,7 @@ jobs:
6868
- name: Download libzim dylib & headers from OpenZIM.org releases
6969
if: steps.cache-libzim.outputs.cache-hit != 'true'
7070
run: |
71-
wget -q https://download.openzim.org/nightly/$LIBZIM_VERSION/$LIBZIM_RELEASE.tar.gz
71+
wget -q https://download.openzim.org/release/libzim/$LIBZIM_RELEASE.tar.gz
7272
tar --extract --file=$LIBZIM_RELEASE.tar.gz
7373
mv $LIBZIM_RELEASE libzim_dist
7474
@@ -85,7 +85,7 @@ jobs:
8585
sudo ldconfig $PWD/lib
8686
8787
- name: update macOS shared objects cache
88-
if: matrix.os == 'macos-latest'
88+
if: matrix.os == 'macos-10.15'
8989
run: |
9090
export DYLD_LIBRARY_PATH="$PWD/lib:$DYLD_LIBRARY_PATH"
9191

0 commit comments

Comments
 (0)