Publish v0.2.0-pre.1 #7
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: -Dwarnings | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install Rust | |
| uses: dtolnay/[email protected] | |
| - name: Build no features | |
| run: cargo build | |
| - name: Build cipher | |
| run: cargo build --features "cipher" | |
| - name: Build signature | |
| run: cargo build --features "signature" | |
| - name: Build all | |
| run: cargo build --all-features | |
| - name: Run tests | |
| run: cargo test --all-features |