File tree 1 file changed +4
-41
lines changed
1 file changed +4
-41
lines changed Original file line number Diff line number Diff line change 11
11
pull_request :
12
12
13
13
jobs :
14
- build :
15
- name : " Build "
14
+ test :
15
+ name : " Test "
16
16
17
17
strategy :
18
18
matrix :
57
57
- name : " Install it"
58
58
run : cargo install --path .
59
59
60
- - name : " Upload Artifact"
61
- uses : actions/upload-artifact@v2
62
- with :
63
- name : ${{ env.name }}-bootimage
64
- path : ~/.cargo/bin/
65
-
66
- test :
67
- name : " Test"
68
- needs : build
69
-
70
- strategy :
71
- matrix :
72
- platform : [
73
- ubuntu-latest,
74
- macos-latest,
75
- windows-latest
76
- ]
77
-
78
- runs-on : ${{ matrix.platform }}
79
- timeout-minutes : 15
80
-
81
- steps :
82
- - name : " Checkout Repository"
83
- uses : actions/checkout@v1
84
-
85
- - name : " Download Bootimage Artifact"
86
- uses : actions/download-artifact@v2
87
- with :
88
- name : ${{ env.name }}-bootimage
89
- path : bin/
90
-
91
- - name : " Add `bin` to PATH"
92
- run : echo ::add-path::bin
93
-
94
- - name : Install Rustup (macOS)
95
- run : |
96
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
97
- echo ::add-path::$HOME/.cargo/bin
98
- if : runner.os == 'macOS'
60
+ - name : " Switch to Rust nightly"
61
+ run : rustup default nightly
99
62
100
63
- name : " Install Rustup Components"
101
64
run : rustup component add rust-src llvm-tools-preview
You can’t perform that action at this time.
0 commit comments