diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000..77db9b6 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -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