Separate RNG library (#470)
* seperates the RNG library * fixes crypto tests * adds rng256 workflow * fixes formatting
This commit is contained in:
39
.github/workflows/rng256_test.yml
vendored
Normal file
39
.github/workflows/rng256_test.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
name: RNG library tests
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'libraries/rng256/**'
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
paths:
|
||||
- 'libraries/rng256/**'
|
||||
|
||||
jobs:
|
||||
rng256_test:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: "true"
|
||||
- name: Install Rust toolchain
|
||||
run: rustup show
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install Python dependencies
|
||||
run: python -m pip install --upgrade pip setuptools wheel
|
||||
- name: Set up OpenSK
|
||||
run: ./setup.sh
|
||||
|
||||
- name: Unit testing of rng256library (release mode)
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --manifest-path libraries/rng256/Cargo.toml --release --features std
|
||||
|
||||
- name: Unit testing of rng256 library (debug mode)
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --manifest-path libraries/rng256/Cargo.toml --features std
|
||||
Reference in New Issue
Block a user