macOS build: search for arm64 openssl library in homebrew before x86_64 #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: apple build | |
on: [push, pull_request] | |
jobs: | |
apple-mobile: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [OS64, TVOS] | |
stfl_opt: [OFF, ON] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Generate project | |
run: | | |
cmake -B build --toolchain .CMake/apple.cmake -DOQS_USE_OPENSSL=OFF -DPLATFORM=${{ matrix.platform }} \ | |
-DOQS_ENABLE_SIG_STFL_LMS=ON -DOQS_ENABLE_SIG_STFL_XMSS=ON -DOQS_HAZARDOUS_EXPERIMENTAL_ENABLE_SIG_STFL_KEY_SIG_GEN=${{ matrix.stfl_opt }} . | |
- name: Build project | |
run: cmake --build build |