Commit 4444178 1 parent 2234456 commit 4444178 Copy full SHA for 4444178
File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 87
87
command : test
88
88
args : --verbose
89
89
90
+ dist :
91
+ runs-on : ${{ matrix.os }}
92
+ strategy :
93
+ fail-fast : false
94
+ matrix :
95
+ os :
96
+ - ubuntu-latest
97
+ - windows-latest
98
+ steps :
99
+ - uses : actions/checkout@v1
100
+ - uses : actions-rs/toolchain@v1
101
+ with :
102
+ profile : minimal
103
+ toolchain : stable
104
+ override : true
105
+ - name : Cache ~/.cargo
106
+ uses : actions/cache@v1
107
+ with :
108
+ path : ~/.cargo
109
+ key : ${{ runner.os }}-test-dotcargo-stable
110
+ - name : Cache cargo build
111
+ uses : actions/cache@v1
112
+ with :
113
+ path : target
114
+ key : ${{ runner.os }}-test-build-target-stable
115
+ - name : Build
116
+ uses : actions-rs/cargo@v1
117
+ with :
118
+ command : build
119
+ args : --bins --locked --release
120
+ - name : Upload artifacts
121
+ uses : actions/upload-artifact@v2
122
+ with :
123
+ name : wormhole-${{ matrix.os }}-${{ github.sha }}
124
+ path : ./target/release/wormhole-rs{,.exe}
125
+ if-no-files-found : error
126
+ continue-on-error : true
127
+
90
128
coverage :
91
129
runs-on : ubuntu-latest
92
130
steps :
You can’t perform that action at this time.
0 commit comments