Support for wrapping EC keys + RSA wrapping fixes/comments/questions #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build | |
on: | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
name: [ossl3, fips] | |
container: fedora:latest | |
steps: | |
- name: Install Dependencies | |
run: | | |
dnf -y install git cargo clang-devel openssl-devel \ | |
'perl(FindBin)' 'perl(lib)' 'perl(File::Compare)' \ | |
'perl(File::Copy)' 'perl(bigint)' 'perl(Time::HiRes)' \ | |
'perl(IPC::Cmd)' 'perl(Pod::Html)' 'perl(Digest::SHA)' \ | |
'perl(Module::Load::Conditional)' 'perl(File::Temp)' \ | |
'perl(Test::Harness)' 'perl(Test::More)' 'perl(Math::BigInt)' \ | |
zlib-devel sed | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup | |
run: | | |
git config --global --add safe.directory /__w/kryoptic/kryoptic | |
git submodule init | |
git submodule update | |
- name: Build | |
run: | | |
if [ "${{ matrix.name }}" = "fips" ]; then | |
cargo build -vv --features fips | |
fi | |
if [ "${{ matrix.name }}" = "ossl3" ]; then | |
cargo build -vv | |
fi | |
- name: Test | |
run: | | |
if [ "${{ matrix.name }}" = "fips" ]; then | |
cargo test --features fips | |
fi | |
if [ "${{ matrix.name }}" = "ossl3" ]; then | |
cargo test | |
fi | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: Build logs ${{ matrix.name }} | |
path: | | |
target/debug/build/*/output | |