File tree 1 file changed +64
-0
lines changed
1 file changed +64
-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
+ - macos-latest
16
+ - ubuntu-latest
17
+ # - windows-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 dependencies (macos)
30
+ run : brew update && brew install zmq
31
+ if : matrix.os == 'macos-latest'
32
+ #
33
+ # - name: install msys2
34
+ # uses: eine/setup-msys2@v0
35
+ # with:
36
+ # update: true
37
+
38
+ - name : install dependencies (ubuntu)
39
+ run : sudo apt -y install libzmq3-dev libsodium-dev
40
+ if : matrix.os == 'ubuntu-latest'
41
+
42
+ - name : install Rust
43
+ uses : actions-rs/toolchain/@v1
44
+ with :
45
+ profile : minimal
46
+ toolchain : ${{ matrix.rust }}
47
+ override : true
48
+ components : clippy
49
+
50
+ - name : Build
51
+ uses : actions-rs/cargo@v1
52
+ with :
53
+ command : build
54
+
55
+ - name : Run Tests
56
+ uses : actions-rs/cargo@v1
57
+ with :
58
+ command : test
59
+
60
+ - name : Generate Docs
61
+ uses : actions-rs/cargo@v1
62
+ with :
63
+ command : doc
64
+ args : --all-features --no-deps
You can’t perform that action at this time.
0 commit comments