mirror of
https://github.com/arnaucube/sonobe.git
synced 2026-01-09 23:41:30 +01:00
Add external inputs logic to F function/circuit. Add an example of usage with external inputs too. (#78)
* Add external inputs logic to F function/circuit. Add an example of usage with external inputs too. * Add examples run into CI
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -72,6 +72,18 @@ jobs:
|
||||
run: |
|
||||
cargo test --doc
|
||||
|
||||
examples:
|
||||
if: github.event.pull_request.draft == false
|
||||
name: Run examples & examples tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
- name: Run examples tests
|
||||
run: cargo test --examples
|
||||
- name: Run examples
|
||||
run: cargo run --release --example 2>&1 | grep -E '^ ' | xargs -n1 cargo run --release --example
|
||||
|
||||
fmt:
|
||||
if: github.event.pull_request.draft == false
|
||||
name: Rustfmt
|
||||
@@ -104,6 +116,7 @@ jobs:
|
||||
args: --all-targets --all-features -- -D warnings
|
||||
|
||||
typos:
|
||||
if: github.event.pull_request.draft == false
|
||||
name: Spell Check with Typos
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user