cron-dev-arm-trace #988
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: cron-dev-arm-trace | |
| on: | |
| schedule: [cron: "0 */5 * * *"] | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build_and_test: | |
| runs-on: "macos-15" | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| ref: dev | |
| - name: Rust version | |
| run: rustc -V | |
| - name: rustup | |
| run: rustup show | |
| - name: Build | |
| run: cargo build --verbose | |
| # We use cargo-nextest because cargo test does not forward cancellation signal | |
| - uses: taiki-e/install-action@nextest | |
| - name: Run tests with tokio multi-thread | |
| run: cd test-suite; RUSTFLAGS="--cfg tokio_unstable" WORKFLOW=1 exec cargo nextest run -F="tokio,trace_log" --hide-progress-bar -j 1 --no-capture | |
| - name: Run tests with tokio multi thread --release | |
| run: cd test-suite; RUSTFLAGS="--cfg tokio_unstable" WORKFLOW=1 exec cargo nextest run -F="tokio,trace_log" --hide-progress-bar -j 1 --no-capture -r | |
| - name: Run tests with tokio single-thread --release | |
| run: cd test-suite; RUSTFLAGS="--cfg tokio_unstable" WORKFLOW=1 SINGLE_THREAD_RUNTIME=1 exec cargo nextest run -F="tokio,trace_log" --hide-progress-bar -j 1 --no-capture -r | |
| - name: Dump log on cancel | |
| if: ${{ cancelled() || failure() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: crossfire_ring | |
| path: /tmp/crossfire_ring.log |