File tree 1 file changed +62
-0
lines changed
1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ # schedule:
7
+ # - cron: "00 01 * * *"
8
+
9
+ jobs :
10
+ ci :
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ matrix :
14
+ os :
15
+ - ubuntu-latest
16
+ # - windows-latest
17
+ # - macOS-latest
18
+ rust :
19
+ - stable
20
+ # - beta
21
+ # - nightly
22
+ # - "1.32.0"
23
+ steps :
24
+ - name : checkout the source code
25
+ uses : actions/checkout@v1
26
+ with :
27
+ fetch-depth : 2
28
+
29
+ # - name: install ZMQ with homebrew
30
+ # run: brew udpdate && brew install zmq
31
+ #
32
+ # - name: install msys2
33
+ # uses: eine/setup-msys2@v0
34
+ # with:
35
+ # update: true
36
+
37
+ - name : install ZMQ with apt
38
+ run : sudo apt -y install libzmq3-dev libsodium-dev
39
+
40
+ - name : install Rust
41
+ uses : actions-rs/toolchain/@v1
42
+ with :
43
+ profile : minimal
44
+ toolchain : ${{ matrix.rust }}
45
+ override : true
46
+ components : clippy
47
+
48
+ - name : Build
49
+ uses : actions-rs/cargo@v1
50
+ with :
51
+ command : build
52
+
53
+ - name : Run Tests
54
+ uses : actions-rs/cargo@v1
55
+ with :
56
+ command : test
57
+
58
+ - name : Generate Docs
59
+ uses : actions-rs/cargo@v1
60
+ with :
61
+ command : doc
62
+ args : --all-features --no-deps
You can’t perform that action at this time.
0 commit comments