1919 runs-on : ${{ matrix.os }}
2020 strategy :
2121 matrix :
22- os : [ubuntu-latest, macos-latest ]
22+ os : [ubuntu-latest, macos-10.15 ]
2323 # TODO: expand this to cross-platform builds (see V2 approach below)
24- # os: [ubuntu-latest, windows-latest, macos-latest ]
24+ # os: [ubuntu-latest, windows-latest, macos-10.15 ]
2525 python-version : ["3.6", "3.7", "3.8", "3.9", "3.10"]
2626
2727 steps :
3434 architecture : x64
3535
3636 - name : set macOS environ
37- if : matrix.os == 'macos-latest '
37+ if : matrix.os == 'macos-10.15 '
3838 run : |
3939 echo LIBZIM_EXT=dylib >> $GITHUB_ENV
4040 echo LIBZIM_RELEASE=libzim_macos-x86_64-$LIBZIM_VERSION >> $GITHUB_ENV
4343 echo RPATH=@loader_path/ >> $GITHUB_ENV
4444
4545 - name : install Apple certificate
46- if : matrix.os == 'macos-latest '
46+ if : matrix.os == 'macos-10.15 '
4747 shell : bash
4848 env :
4949 CERTIFICATE : /tmp/wmch-devid.p12
9292 ln -s $GITHUB_WORKSPACE/libzim_dist/$LIBZIM_INCLUDE_PATH include/zim
9393
9494 - name : Link macOS libzim dylib & headers into workspace lib and include folders
95- if : matrix.os == 'macos-latest '
95+ if : matrix.os == 'macos-10.15 '
9696 run : |
9797 cp -Pp $GITHUB_WORKSPACE/libzim_dist/lib/* lib/
9898 ln -sf libzim.${LIBZIM_VERSION:0:1}.dylib lib/libzim.dylib
@@ -108,13 +108,13 @@ jobs:
108108 fi
109109
110110 - name : add macOS libzim binary to source for wheel
111- if : matrix.os == 'macos-latest '
111+ if : matrix.os == 'macos-10.15 '
112112 run : |
113113 install_name_tool -change libzim.${LIBZIM_VERSION:0:1}.dylib @loader_path/libzim.${LIBZIM_VERSION:0:1}.dylib $(find build -name "libzim.cpython*.so")
114114 cp -pv lib/libzim.${LIBZIM_VERSION:0:1}.dylib $(find build/lib* -type d)/
115115
116116 - name : sign macOS wrapper binary
117- if : matrix.os == 'macos-latest '
117+ if : matrix.os == 'macos-10.15 '
118118 run : |
119119 echo "make sure libzim is signed and notarized"
120120 spctl -a -v -t install lib/libzim.${LIBZIM_VERSION:0:1}.dylib
0 commit comments