Skip to content

Commit

Permalink
Merge pull request #1534 from tnull/2022-06-check-release-build
Browse files Browse the repository at this point in the history
Check release build in CI
  • Loading branch information
TheBlueMatt authored Jun 10, 2022
2 parents 0fc2036 + c21593d commit bfe4660
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,27 @@ jobs:
- name: For each commit, run cargo check (including in fuzz)
run: ci/check-each-commit.sh upstream/main

check_release:
runs-on: ubuntu-latest
env:
TOOLCHAIN: stable
steps:
- name: Checkout source code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.TOOLCHAIN }}
override: true
profile: minimal
- name: Run cargo check for release build.
run: |
cargo check --release
cargo check --no-default-features --features=no-std --release
cargo doc --release
fuzz:
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit bfe4660

Please sign in to comment.