Skip to content

Commit 09d80a5

Browse files
authored
Use universal2 openssl in macOS CI (#7428)
1 parent d8f6635 commit 09d80a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,14 +366,14 @@ jobs:
366366

367367
- name: Download OpenSSL
368368
run: |
369-
python .github/workflows/download_openssl.py macos openssl-macos-x86-64
369+
python .github/workflows/download_openssl.py macos openssl-macos-universal2
370370
env:
371371
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
372372
- name: Tests
373373
run: |
374374
CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS=1 \
375-
LDFLAGS="${HOME}/openssl-macos-x86-64/lib/libcrypto.a ${HOME}/openssl-macos-x86-64/lib/libssl.a" \
376-
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" \
375+
LDFLAGS="${HOME}/openssl-macos-universal2/lib/libcrypto.a ${HOME}/openssl-macos-universal2/lib/libssl.a" \
376+
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 -march=core2 $EXTRA_CFLAGS" \
377377
tox -vvv -r -- --color=yes --wycheproof-root=wycheproof
378378
env:
379379
TOXENV: ${{ matrix.PYTHON.TOXENV }}

0 commit comments

Comments
 (0)