File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : check-build
2+
3+ on :
4+ push :
5+ branches : ' *'
6+ pull_request :
7+ branches : ' *'
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v2
20+ - name : Use Rust nightly
21+ uses : actions-rs/toolchain@v1
22+ with :
23+ toolchain : nightly
24+ target : x86_64-pc-windows-gnu
25+ override : true
26+ - name : Build with Cargo
27+ uses : actions-rs/cargo@v1
28+ with :
29+ use-cross : true
30+ command : build
31+ args : --release --target=x86_64-pc-windows-gnu
32+ - name : Run tests
33+ run : cargo test --verbose
Original file line number Diff line number Diff line change 1+ name : draft-release
2+
3+ on :
4+ push :
5+ tags : ' *'
6+
7+ env :
8+ CARGO_TERM_COLOR : always
9+
10+ jobs :
11+ build :
12+
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v2
18+ - name : Use Rust nightly
19+ uses : actions-rs/toolchain@v1
20+ with :
21+ toolchain : nightly
22+ target : x86_64-pc-windows-gnu
23+ override : true
24+ - name : Build with Cargo
25+ uses : actions-rs/cargo@v1
26+ with :
27+ use-cross : true
28+ command : build
29+ args : --release --target=x86_64-pc-windows-gnu
30+ - name : Create draft release
31+ uses : ncipollo/release-action@v1
32+ with :
33+ artifacts : " target/x86_64-pc-windows-gnu/release/rw3d_cli.exe"
34+ draft : true
35+ generateReleaseNotes : true
You can’t perform that action at this time.
0 commit comments