From b15fbeaf14a3b544bc2c0c0e491a89760a4340a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Thu, 14 Dec 2023 14:23:09 +0100 Subject: [PATCH] Add a CI workflow to check the stable branch with nightly compiler output --- .github/workflows/nightly.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/nightly.yml 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