File tree Expand file tree Collapse file tree 2 files changed +23
-15
lines changed
Expand file tree Collapse file tree 2 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Build
18+ run : cargo build --verbose
19+ - name : Run tests
20+ run : cargo test --verbose
Original file line number Diff line number Diff line change 1- name : CI/CD
1+ name : Release
22
33on :
4- push :
5- branches : [ "master" ]
6- pull_request :
7- branches : [ "master" ]
4+ release :
5+ types : [created]
86
97env :
108 CARGO_TERM_COLOR : always
119
1210jobs :
13- build :
14- runs-on : ubuntu-latest
15- steps :
16- - uses : actions/checkout@v4
17- - name : Build
18- run : cargo build --verbose
19- - name : Run tests
20- run : cargo test --verbose
21-
2211 attach_binaries :
2312 strategy :
2413 matrix :
4332 os : ubuntu-latest
4433 suffix : linux-arm64
4534 ext : " "
46- needs : [build]
4735 runs-on : ${{ matrix.os }}
4836 if : startsWith(github.ref, 'refs/tags/')
4937 steps :
You can’t perform that action at this time.
0 commit comments