@@ -27,10 +27,10 @@ jobs:
27
27
- zmq
28
28
- url
29
29
- websockets
30
- - vendored_openssl
31
30
steps :
32
31
- uses : actions/checkout@v2
33
32
- name : Install dependencies
33
+ if : startsWith(matrix.feature, 'zmq')
34
34
run : sudo apt-get update && sudo apt-get install -y libzmq3-dev
35
35
- name : Install rust stable
36
36
uses : actions-rs/toolchain@v1
52
52
strategy :
53
53
fail-fast : false
54
54
matrix :
55
- os : [ ubuntu-18.04, ubuntu-20.04 , macos-10.15, macos-11.0, windows-2019 ]
55
+ os : [ ubuntu-18.04, ubuntu-latest , macos-10.15, macos-11.0, windows-latest ]
56
56
steps :
57
57
- uses : actions/checkout@v2
58
58
- name : Install linux dependencies
87
87
steps :
88
88
- uses : actions/checkout@v2
89
89
- name : Install dependencies
90
- run : sudo apt-get update && sudo apt-get install -y libzmq3-dev libssl-dev
90
+ run : sudo apt-get update && sudo apt-get install -y libzmq3-dev
91
91
- name : Install rust stable
92
92
uses : actions-rs/toolchain@v1
93
93
with :
@@ -108,47 +108,38 @@ jobs:
108
108
strategy :
109
109
fail-fast : false
110
110
matrix :
111
- toolchain : [ nightly, beta, stable, 1.45 .0 ]
111
+ toolchain : [ nightly, beta, stable, 1.47 .0 ]
112
112
steps :
113
113
- uses : actions/checkout@v2
114
114
- name : Install dependencies
115
- run : sudo apt-get update && sudo apt-get install -y libzmq3-dev libssl-dev
115
+ run : sudo apt-get update && sudo apt-get install -y libzmq3-dev
116
116
- name : Install rust ${{ matrix.toolchain }}
117
117
uses : actions-rs/toolchain@v1
118
118
with :
119
119
toolchain : ${{ matrix.toolchain }}
120
120
override : true
121
- - name : All features
121
+ - name : Regenerate Cargo.lock
122
+ if : startsWith(matrix.toolchain, '1.')
122
123
uses : actions-rs/cargo@v1
123
124
with :
124
- command : check
125
- args : --workspace --all-targets --all-features
126
- toolchains-old :
127
- runs-on : ubuntu-latest
128
- strategy :
129
- fail-fast : false
130
- matrix :
131
- toolchain : [ 1.41.1 ]
132
- steps :
133
- - uses : actions/checkout@v2
134
- - name : Install dependencies
135
- run : sudo apt-get update && sudo apt-get install -y libzmq3-dev libssl-dev
136
- - name : Install rust ${{ matrix.toolchain }}
137
- uses : actions-rs/toolchain@v1
125
+ command : generate-lockfile
126
+ - name : Pin versions
127
+ if : startsWith(matrix.toolchain, '1.')
128
+ uses : actions-rs/cargo@v1
138
129
with :
139
- toolchain : ${{ matrix.toolchain }}
140
- override : true
141
- - name : Custom features
130
+ command : update
131
+ args : -p zeroize --precise "1.2.0"
132
+ - name : All features
142
133
uses : actions-rs/cargo@v1
143
134
with :
144
135
command : check
145
- args : --workspace --all-targets --features=lnp,websockets,url,keygen,serde,bulletproofs
136
+ args : --workspace --all-targets --all- features
146
137
dependency :
147
138
runs-on : ubuntu-latest
148
139
steps :
149
140
- uses : actions/checkout@v2
150
141
- name : Install dependencies
151
- run : sudo apt-get update && sudo apt-get install -y libzmq3-dev libssl-dev
142
+ run : sudo apt-get update && sudo apt-get install -y libzmq3-dev
152
143
- name : Install latest stable
153
144
uses : actions-rs/toolchain@v1
154
145
with :
@@ -184,7 +175,7 @@ jobs:
184
175
- name : Install dependencies
185
176
run : |
186
177
sudo apt-get update
187
- sudo apt-get install -y libpcre3-dev libssl-dev
178
+ sudo apt-get install -y libpcre3-dev
188
179
- name : set environment variables
189
180
run : |
190
181
ANDROID_SDK_ROOT="$GITHUB_WORKSPACE/sdk"
0 commit comments