This repository was archived by the owner on Jan 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +74
-0
lines changed
Expand file tree Collapse file tree 2 files changed +74
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ permissions :
4+ contents : write
5+
6+ on :
7+ push :
8+ tags :
9+ - v[0-9]+.*
10+
11+ jobs :
12+ create-release :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+ - uses : taiki-e/create-gh-release-action@v1
17+ with :
18+ token : ${{ secrets.GITHUB_TOKEN }}
19+
20+ upload-assets :
21+ needs : create-release
22+ strategy :
23+ matrix :
24+ include :
25+ - target : armv7-unknown-linux-gnueabihf
26+ os : ubuntu-latest
27+ - target : aarch64-unknown-linux-gnu
28+ os : ubuntu-latest
29+ - target : aarch64-apple-darwin
30+ os : macos-latest
31+ - target : x86_64-unknown-linux-gnu
32+ os : ubuntu-latest
33+ - target : x86_64-unknown-linux-musl
34+ os : ubuntu-latest
35+ - target : x86_64-apple-darwin
36+ os : macos-latest
37+ - target : x86_64-pc-windows-msvc
38+ os : windows-latest
39+ runs-on : ${{ matrix.os }}
40+ steps :
41+ - uses : actions/checkout@v3
42+ - uses : taiki-e/upload-rust-binary-action@v1
43+ with :
44+ bin : els
45+ target : ${{ matrix.target }}
46+ env :
47+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Rust
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - uses : Swatinem/rust-cache@v2
20+ - name : Build
21+ run : cargo build --verbose
22+ - name : Run tests
23+ run : cargo test --verbose
24+ - uses : actions-rs/cargo@v1
25+ with :
26+ command : clippy
27+ args : -- -D warnings
You can’t perform that action at this time.
0 commit comments