mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-01-11 02:35:53 +00:00
4f0546af81
* Run clang sanitizers in CI + workflow cleanup * Update makefile * Update workflow names * Simplify more * Run go benchmarks in CI * Fix indentation nits * Initialize variable in fr_is_one * Revert "Initialize variable in fr_is_one" This reverts commit f4c2749e410c68479f83d78c9a1780efe191c7fe. * Move .PHONY outside of condition
30 lines
657 B
YAML
30 lines
657 B
YAML
name: Rust
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
- name: Get latest version of stable rust
|
|
run: |
|
|
rustup update stable
|
|
- name: Build and Test (mainnet preset)
|
|
run: |
|
|
cd bindings/rust
|
|
cargo clean
|
|
cargo test --all --release --tests
|
|
- name: Build and Test (minimal preset)
|
|
run: |
|
|
cd bindings/rust
|
|
cargo clean
|
|
cargo test --all --release --features="minimal-spec" --tests
|