Skip to content

Test tweaks. WIP

Test tweaks. WIP #1

Workflow file for this run

name: ML-KEM Interop Tests

Check failure on line 1 in .github/workflows/interop-mlkem.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/interop-mlkem.yml

Invalid workflow file

(Line: 16, Col: 14): Unrecognized named-value: 'env'. Located at position 1 within expression: env.wolfssl, (Line: 21, Col: 14): Unrecognized named-value: 'env'. Located at position 1 within expression: env.os, (Line: 45, Col: 14): Unrecognized named-value: 'env'. Located at position 1 within expression: env.os
on:
push:
branches: [ 'draft-ietf-sshm-mlkem-hybrid-kex' ]
pull_request:
branches: [ '*' ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
wolfssl: v5.8.4-stable
os: ubuntu-latest
cache_key: wolfssh-mlkem-wolfssl-${{ env.wolfssl }}-${{ env.os }}
jobs:
build_wolfssl:
name: Build wolfssl
runs-on: ${{ env.os }}
timeout-minutes: 4
steps:
- name: Checking cache for wolfSSL
uses: actions/cache@v4
id: cache-wolfssl
with:
path: build-dir/
key: ${{ env.cache_key }}
lookup-only: true
- name: Checkout, build, and install wolfSSL
if: steps.cache-wolfssl.outputs.cache-hit != 'true'
uses: wolfSSL/actions-build-autotools-project@v1
with:
repository: wolfSSL/wolfssl
ref: ${{ env.wolfssl }}
path: wolfssl
configure: --enable-wolfssh --enable-mlkem --enable-curve25519 --enable-base64encode --enable-cryptonly --disable-examples --disable-crypttests
check: false
install: true
build_wolfssh:
name: Build wolfssh
runs-on: ${{ env.os }}
timeout-minutes: 4
needs: [build_wolfssl]
steps:
- name: Checking cache for wolfSSL
uses: actions/cache@v4
with:
path: build-dir/
key: wolfssh-mlkem-wolfssl-${{ env.wolfssl }}-${{ env.os }}
fail-on-cache-miss: true
- name: Checkout, build, and test wolfSSH
uses: wolfSSL/actions-build-autotools-project@v1
with:
repository: wolfSSL/wolfssh
path: wolfssh
configure: --with-wolfssl=${{ github.workspace }}/build-dir
check: true