diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28538c3f3c..000109e175 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -on: [push, pull_request, merge_group] +on: [push, pull_request, merge_group, repository_dispatch] name: Continuous integration @@ -15,6 +15,9 @@ jobs: - stable - beta - nightly + liboqs: + - pin + - main env: # 20 MiB stack RUST_MIN_STACK: 20971520 @@ -24,6 +27,10 @@ jobs: with: submodules: true + - name: Update liboqs to latest main + if: matrix.liboqs == 'main' + run: git submodule update --remote + - name: Set stack size if: startsWith(matrix.os, 'windows') run: echo "RUSTFLAGS=-C link-arg=/STACK:20971520" >> $env:GITHUB_ENV @@ -45,7 +52,7 @@ jobs: - name: Set OPENSSL_ROOT_DIR if: startsWith(matrix.os, 'macos') - run: echo "OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1" >> $GITHUB_ENV + run: echo "OPENSSL_ROOT_DIR=$(brew --prefix openssl)" >> $GITHUB_ENV - name: Install Rust run: |