File tree Expand file tree Collapse file tree 3 files changed +40
-33
lines changed Expand file tree Collapse file tree 3 files changed +40
-33
lines changed Original file line number Diff line number Diff line change
1
+ name : Cargo Build & Test
2
+
3
+ on : [push, pull_request]
4
+
5
+ env :
6
+ CARGO_TERM_COLOR : always
7
+
8
+ jobs :
9
+ build_and_test :
10
+ runs-on : ubuntu-latest
11
+ strategy :
12
+ matrix :
13
+ toolchain :
14
+ - stable
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - run : rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
18
+ - run : cargo build --verbose
19
+ - run : cargo test --verbose
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Create Release and Upload Assets
2
+
3
+ on :
4
+ release :
5
+ types : [created]
6
+
7
+ jobs :
8
+ upload_assets :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - run : rustup update stable && rustup default stable
13
+ - run : cargo build --release
14
+ - run : tar -czf rust-watchman-stable.tar.gz target/release/librustwatchman.rlib
15
+ - name : Upload Release Asset
16
+ uses : actions/upload-release-asset@v1
17
+ with :
18
+ upload_url : ${{ github.event.release.upload_url }}
19
+ asset_path : ./rust-watchman-stable.tar.gz
20
+ asset_name : rust-watchman-stable.tar.gz
21
+ asset_content_type : application/gzip
You can’t perform that action at this time.
0 commit comments