Skip to content

Workflow file for this run

name: Fancy Kyber Tests
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
build_liboqs:
name: Build liboqs
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
- name: Install liboqs source
run: git clone --depth 1 --branch "0.10.0" "https://github.com/open-quantum-safe/liboqs"
- name: Build and install liboqs
working-directory: liboqs
run: |
mkdir build
cd build
cmake -DOQS_MINIMAL_BUILD=KEM_kyber_512 -DOQS_USE_OPENSSL=0 ..
make
sudo make install
- name: Upload liboqs
working-directory: liboqs
uses: actions/upload-artifact@v4

Check failure on line 29 in .github/workflows/kyber.yml

View workflow run for this annotation

GitHub Actions / Fancy Kyber Tests

Invalid workflow file

The workflow is not valid. .github/workflows/kyber.yml (Line: 29, Col: 9): Unexpected value 'uses' .github/workflows/kyber.yml (Line: 30, Col: 9): Unexpected value 'with'
with:
name: wolfssh-liboqs-install
path: build-dir
retention-days: 1
build_wolfssl:
name: Build wolfssl
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
- name: Build wolfssl
uses: wolfSSL/actions-build-autotools-project@v1
with:
path: wolfssl
configure: >-
--enable-wolfssh --enable-cryptonly
--disable-examples --disable-crypttests
install: true
- name: Upload wolfssl
uses: actions/upload-artifact@v4
with:
name: wolfssh-wolfssl-install
path: build-dir
retention-days: 1
build_wolfssh:
name: Build wolfssh
runs-on: ubuntu-latest
timeout-minutes: 4
needs: build_wolfssl build_liboqs
steps:
- name: Download liboqs
uses: actions/download-artifact@v4
with:
name: wolfssh-liboqs-install
path: build-dir
- name: Download wolfssl
uses: actions/download-artifact@v4
with:
name: wolfssh-wolfssl-install
path: build-dir
- name: Install wolfSSH
run: git clone --depth 1 "https://github.com/wolfssl/wolfssh"
- name: Build wolfSSH
working-directory: wolfssh
run: |
autoreconf -ivf
./configure --with-liboqs
make
- name: Run wolfssh tests
working-directory: wolfssh
run: make check