Skip to content

Commit

Permalink
Add a CI workflow to check the stable branch with nightly compiler ou…
Browse files Browse the repository at this point in the history
…tput
  • Loading branch information
Kobzol committed Dec 14, 2023
1 parent f9f84d1 commit b15fbea
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Check stable branch with nightly compiler

on:
push:

jobs:
check-stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: stable
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: Build
run: cargo build --verbose --all
- name: Generate self-profile
run: RUSTFLAGS="-Zself-profile" cargo build --bin crox
- name: Check crox
run: ./target/debug/crox crox-*.mm_profdata
- name: Check flamegraph
run: ./target/debug/flamegraph crox-*.mm_profdata
- name: Check stack_collapse
run: ./target/debug/stack_collapse *.mm_profdata
- name: Check summarize
run: ./target/debug/summarize summarize crox-*.mm_profdata

0 comments on commit b15fbea

Please sign in to comment.