summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2020-04-22 13:34:29 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2020-04-22 13:34:29 -0500
commitf01bf4cd5aa9e077cff312c3a70d4a3c0f9dc5c1 (patch)
tree129fc99ecd0d80c13c9280a1aef4e61acd2ca112 /.github/workflows/ci.yml
parenta7f846e0d694b1d007adb09d86482b909a8ab9f5 (diff)
downloadcryptography-openssl-mac.tar.gz
use our infra built openssl on the macos side now tooopenssl-mac
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 144187893..883360f50 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -33,10 +33,14 @@ jobs:
- run: git clone https://github.com/google/wycheproof
- - run: |
+ - name: Download OpenSSL
+ run: |
+ python .github/workflows/download_openssl.py macos openssl-macos
+ - name: Tests
+ run: |
CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS=1 \
- LDFLAGS="/usr/local/opt/openssl\\@1.1/lib/libcrypto.a /usr/local/opt/openssl\\@1.1/lib/libssl.a" \
- CFLAGS="-I/usr/local/opt/openssl\\@1.1/include -Werror -Wno-error=deprecated-declarations -Wno-error=incompatible-pointer-types-discards-qualifiers -Wno-error=unused-function -Wno-error=unused-command-line-argument -mmacosx-version-min=10.9" \
+ LDFLAGS="${HOME}/openssl-macos/lib/libcrypto.a ${HOME}/openssl-macos/lib/libssl.a" \
+ CFLAGS="-I${HOME}/openssl-macos/include -Werror -Wno-error=deprecated-declarations -Wno-error=incompatible-pointer-types-discards-qualifiers -Wno-error=unused-function -Wno-error=unused-command-line-argument -mmacosx-version-min=10.9" \
tox -r -- --color=yes --wycheproof-root=wycheproof
env:
TOXENV: ${{ matrix.PYTHON.TOXENV }}
@@ -78,7 +82,7 @@ jobs:
- run: python -m pip install tox requests coverage
- name: Download OpenSSL
run: |
- python .github/workflows/download_openssl.py openssl-${{ matrix.WINDOWS.WINDOWS }}-${{ matrix.PYTHON.MSVC_VERSION }}
+ python .github/workflows/download_openssl.py windows openssl-${{ matrix.WINDOWS.WINDOWS }}-${{ matrix.PYTHON.MSVC_VERSION }}
echo "::set-env name=INCLUDE::C:/openssl-${{ matrix.WINDOWS.WINDOWS }}-${{ matrix.PYTHON.MSVC_VERSION }}/include;%INCLUDE%"
echo "::set-env name=LIB::C:/openssl-${{ matrix.WINDOWS.WINDOWS }}-${{ matrix.PYTHON.MSVC_VERSION }}/lib;%LIB%"
env: