Skip to content

Fix a missing -DOQS_PROVIDER_BUILD_STATIC=ON in CircleCI build stat… #348

Fix a missing -DOQS_PROVIDER_BUILD_STATIC=ON in CircleCI build stat…

Fix a missing -DOQS_PROVIDER_BUILD_STATIC=ON in CircleCI build stat… #348

Workflow file for this run

name: Linux tests
on:
push:
branches: [ '*' ]
pull_request:
branches: [ "main" ]
jobs:
linux_intel:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ossl-branch: [openssl-3.1.0, master]
include:
- name: alpine
container: openquantumsafe/ci-alpine-amd64:latest
# focal test done on CircleCI - save the compute cycles here until CCI is dropped
# - name: focal
# container: openquantumsafe/ci-ubuntu-focal-x86_64:latest
- name: jammy
container: openquantumsafe/ci-ubuntu-jammy:latest
container:
image: ${{ matrix.container }}
env:
MAKE_PARAMS: "-j 18"
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Full build
run: OPENSSL_BRANCH=${{ matrix.ossl-branch }} ./scripts/fullbuild.sh
- name: Enable sibling oqsprovider for testing
run: cd _build/lib && ln -s oqsprovider.so oqsprovider2.so
- name: Test
run: ./scripts/runtests.sh -V
- name: Verify nothing changes on re-generate code
run: |
git config --global user.name "ciuser" && \
git config --global user.email "ci@openquantumsafe.org" && \
git config --global --add safe.directory `pwd` && \
export LIBOQS_SRC_DIR=`pwd`/liboqs && \
! pip3 install -r oqs-template/requirements.txt 2>&1 | grep ERROR && \
python3 oqs-template/generate.py && \
! git status | grep modified
- name: Build .deb install package
run: cpack
working-directory: _build
- name: Retain .deb installer
uses: actions/upload-artifact@v3
with:
name: oqsprovider-x64
path: _build/*.deb