Skip to content

Commit

Permalink
disable platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
baentsch committed Jun 28, 2023
1 parent 4f65275 commit c8869b8
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ jobs:
- macos-13
- macos-12
- macos-11
platform:
- arch: x64
oqsconfig: -DOQS_ALGS_ENABLED=STD
- arch: arm64
oqsconfig: -DOQS_ALGS_ENABLED=STD
# eventually build for other alg sets, if CCI use is discontinued
params:
- oqsconfig: -DOQS_ALGS_ENABLED=STD
runs-on: ${{matrix.os}}
env:
# Don't overwhelm github CI VMs:
Expand Down Expand Up @@ -61,22 +59,19 @@ jobs:
run: |
mkdir _build
cd _build
cmake -DOPENSSL_ROOT_DIR=../.localopenssl32 -DCMAKE_INSTALL_PREFIX=../../.localliboqs ${{ matrix.platform.oqsconfig }} ..
cmake -DOPENSSL_ROOT_DIR=../.localopenssl32 -DCMAKE_INSTALL_PREFIX=../../.localliboqs ${{ matrix.params.oqsconfig }} ..
make $MAKE_PARAMS
make install
working-directory: liboqs
- name: build oqs-provider
run: liboqs_DIR=.localliboqs cmake -DOPENSSL_ROOT_DIR=.localopenssl32 -S . -B _build && cmake --build _build
- name: Check resultant dylib
run: ls -l && pwd
working-directory: _build/lib
- name: Check Openssl providers
run: OPENSSL_MODULES=_build/lib .localopenssl32/bin/openssl list -providers -provider oqsprovider -provider default
- name: Run tests
run: PATH=../.localopenssl32/bin:$PATH OPENSSL_MODULES=lib ctest -V
run: PATH=../.localopenssl32/bin:$PATH ctest -V
working-directory: _build
- name: Retain oqsprovider.dylib
uses: actions/upload-artifact@v3
with:
name: oqs-provider-${{matrix.os}}-${{matrix.platform.arch}}
name: oqs-provider-${{matrix.os}}-x64
path: _build/lib/oqsprovider.dylib

0 comments on commit c8869b8

Please sign in to comment.