-
Notifications
You must be signed in to change notification settings - Fork 13
39 lines (29 loc) · 1.17 KB
/
cron_dev_arm.yml
File metadata and controls
39 lines (29 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: cron-dev-arm
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: 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" --hide-progress-bar -j 1 --no-capture
- name: Run tests with --release
run: cd test-suite; RUSTFLAGS="--cfg tokio_unstable" WORKFLOW=1 exec cargo nextest run -F="tokio" --hide-progress-bar -j 1 --no-capture -r
- name: Run tests with --release tokio single-thread
run: cd test-suite; RUSTFLAGS="--cfg tokio_unstable" WORKFLOW=1 SINGLE_THREAD_RUNTIME=1 exec cargo nextest run -F="tokio" --hide-progress-bar -j 1 --no-capture -r
- name: Dump log on cancel
if: ${{ cancelled() }}
uses: actions/upload-artifact@v4
with:
name: crossfire_ring
path: /tmp/crossfire_ring.log