Skip to content

Commit

Permalink
ci: Add build job
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan46 committed May 10, 2024
1 parent 94df647 commit 65de032
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,19 @@ jobs:
run: |
echo '`cargo clippy` failed'
echo 'Please fix the issue generated by clippy'
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: List version
run: cargo --version
- name: Build with try-runtime feature
run: RUSTFLAGS="-D warnings" cargo build --features try-runtime
- name: Build node runtime
run: RUSTFLAGS="-D warnings" cargo build -p polka-storage-runtime
- name: Build node with runtime-benchmark feature
run: RUSTFLAGS="-D warnings" cargo build -p polka-storage-node --features runtime-benchmarks
- name: Build in release mode
run: RUSTFLAGS="-D warnings" cargo build --release

0 comments on commit 65de032

Please sign in to comment.