File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -391,14 +391,14 @@ jobs:
391391
392392 - name : Download OpenSSL
393393 run : |
394- python .github/workflows/download_openssl.py macos openssl-macos-x86-64
394+ python .github/workflows/download_openssl.py macos openssl-macos-universal2
395395 env :
396396 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
397397 - name : Tests
398398 run : |
399399 CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS=1 \
400- LDFLAGS="${HOME}/openssl-macos-x86-64 /lib/libcrypto.a ${HOME}/openssl-macos-x86-64 /lib/libssl.a" \
401- CFLAGS="-I${HOME}/openssl-macos-x86-64 /include -Werror -Wno-error=deprecated-declarations -Wno-error=incompatible-pointer-types-discards-qualifiers -Wno-error=unused-function -mmacosx-version-min=10.10 -march=core2 $EXTRA_CFLAGS" \
400+ LDFLAGS="${HOME}/openssl-macos-universal2 /lib/libcrypto.a ${HOME}/openssl-macos-universal2 /lib/libssl.a" \
401+ CFLAGS="-I${HOME}/openssl-macos-universal2 /include -Werror -Wno-error=deprecated-declarations -Wno-error=incompatible-pointer-types-discards-qualifiers -Wno-error=unused-function -mmacosx-version-min=10.10 $EXTRA_CFLAGS" \
402402 tox -vvv -r -- --color=yes --wycheproof-root=wycheproof
403403 env :
404404 TOXENV : ${{ matrix.PYTHON.TOXENV }}
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ jobs:
167167 CFLAGS="-I${HOME}/openssl-macos-universal2/include" \
168168 ../venv/bin/python setup.py bdist_wheel --py-limited-api=${{ matrix.PYTHON.ABI_VERSION }} && mv dist/cryptography*.whl ../wheelhouse
169169 env :
170- MACOSX_DEPLOYMENT_TARGET : ${{ matrix.PYTHON.DEPLOYMENT_TARGET }}
170+ MACOSX_DEPLOYMENT_TARGET : ${{ matrix.PYTHON.DEPLOYMENT_TARGET }}
171171 ARCHFLAGS : ${{ matrix.PYTHON.ARCHFLAGS }}
172172 _PYTHON_HOST_PLATFORM : ${{ matrix.PYTHON._PYTHON_HOST_PLATFORM }}
173173 - run : venv/bin/pip install -f wheelhouse --no-index cryptography
Original file line number Diff line number Diff line change 1010 -e ./vectors
1111 pytest-shard>=0.1.2
1212 randomorder: pytest-randomly
13- passenv = ARCHFLAGS LDFLAGS CFLAGS INCLUDE LIB LD_LIBRARY_PATH RUSTFLAGS CARGO_TARGET_DIR LLVM_PROFILE_FILE OPENSSL_FORCE_FIPS_MODE
13+ passenv = ARCHFLAGS LDFLAGS CFLAGS INCLUDE LIB LD_LIBRARY_PATH RUSTFLAGS CARGO_TARGET_DIR LLVM_PROFILE_FILE OPENSSL_FORCE_FIPS_MODE MACOSX_DEPLOYMENT_TARGET
1414commands =
1515 pip list
1616 !nocoverage: pytest -n auto --cov =cryptography --cov =tests --durations =10 {posargs} tests/
You can’t perform that action at this time.
0 commit comments