File tree 4 files changed +27
-57
lines changed
4 files changed +27
-57
lines changed Original file line number Diff line number Diff line change @@ -72,14 +72,11 @@ jobs:
72
72
uses : actions/checkout@v2
73
73
74
74
# Run build
75
- - name : setup
76
- uses : actions-rs/toolchain@v1
77
- with :
78
- toolchain : nightly-x86_64-unknown-linux-gnu
79
- target : x86_64-unknown-linux-gnu
80
- override : true
81
- profile : minimal
82
- default : true
75
+ - name : install rustup
76
+ run : |
77
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
78
+ sh rustup-init.sh -y --default-toolchain none
79
+
83
80
- name : run integration tests
84
81
env :
85
82
INTEGRATION : ${{ matrix.integration }}
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
test :
10
10
runs-on : ubuntu-latest
11
- name : (${{ matrix.target }}, ${{ matrix.channel }}, ${{ matrix.cfg-release-channel }} )
11
+ name : (${{ matrix.target }}, nightly )
12
12
strategy :
13
13
# https://help.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usage-limits
14
14
# There's a limit of 60 concurrent jobs across all repos in the rust-lang organization.
@@ -20,29 +20,17 @@ jobs:
20
20
target : [
21
21
x86_64-unknown-linux-gnu,
22
22
]
23
- channel : [ nightly ]
24
- cfg-release-channel : [
25
- beta,
26
- nightly,
27
- ]
28
-
29
- env :
30
- CFG_RELEASE_CHANNEL : ${{ matrix.cfg-release-channel }}
31
- CFG_RELEASE : ${{ matrix.cfg-release-channel }}
32
23
33
24
steps :
34
25
- name : checkout
35
26
uses : actions/checkout@v2
36
27
37
28
# Run build
38
- - name : setup
39
- uses : actions-rs/toolchain@v1
40
- with :
41
- toolchain : ${{ matrix.channel }}-${{ matrix.target }}
42
- target : ${{ matrix.target }}
43
- override : true
44
- profile : minimal
45
- default : true
29
+ - name : install rustup
30
+ run : |
31
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
32
+ sh rustup-init.sh -y --default-toolchain none
33
+ rustup target add ${{ matrix.target }}
46
34
47
35
- name : build
48
36
run : |
Original file line number Diff line number Diff line change @@ -10,32 +10,24 @@ jobs:
10
10
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/virtual-environments-for-github-hosted-runners#supported-runners-and-hardware-resources
11
11
# macOS Catalina 10.15
12
12
runs-on : macos-latest
13
- name : (${{ matrix.target }}, ${{ matrix.channel }} )
13
+ name : (${{ matrix.target }}, nightly )
14
14
strategy :
15
15
fail-fast : false
16
16
matrix :
17
17
target : [
18
18
x86_64-apple-darwin,
19
19
]
20
- channel : [ nightly ]
21
-
22
- env :
23
- CFG_RELEASE_CHANNEL : nightly
24
- CFG_RELEASE : nightly
25
20
26
21
steps :
27
22
- name : checkout
28
23
uses : actions/checkout@v2
29
24
30
25
# Run build
31
- - name : setup
32
- uses : actions-rs/toolchain@v1
33
- with :
34
- toolchain : ${{ matrix.channel }}-${{ matrix.target }}
35
- target : ${{ matrix.target }}
36
- override : true
37
- profile : minimal
38
- default : true
26
+ - name : install rustup
27
+ run : |
28
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
29
+ sh rustup-init.sh -y --default-toolchain none
30
+ rustup target add ${{ matrix.target }}
39
31
40
32
- name : build
41
33
run : |
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
test :
10
10
runs-on : windows-latest
11
- name : (${{ matrix.target }}, ${{ matrix.channel }} )
11
+ name : (${{ matrix.target }}, nightly )
12
12
strategy :
13
13
# https://help.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usage-limits
14
14
# There's a limit of 60 concurrent jobs across all repos in the rust-lang organization.
23
23
x86_64-pc-windows-gnu,
24
24
x86_64-pc-windows-msvc,
25
25
]
26
- channel : [ nightly ]
27
- include :
28
- - channel : nightly
29
- target : i686-pc-windows-gnu
30
-
31
- env :
32
- CFG_RELEASE_CHANNEL : nightly
33
- CFG_RELEASE : nightly
34
26
35
27
steps :
36
28
# The Windows runners have autocrlf enabled by default
@@ -41,14 +33,15 @@ jobs:
41
33
uses : actions/checkout@v2
42
34
43
35
# Run build
44
- - name : setup
45
- uses : actions-rs/toolchain@v1
46
- with :
47
- toolchain : ${{ matrix.channel }}-${{ matrix.target }}
48
- target : ${{ matrix.target }}
49
- override : true
50
- profile : minimal
51
- default : true
36
+ - name : Install Rustup using win.rustup.rs
37
+ run : |
38
+ # Disable the download progress bar which can cause perf issues
39
+ $ProgressPreference = "SilentlyContinue"
40
+ Invoke-WebRequest https://win.rustup.rs/ -OutFile rustup-init.exe
41
+ .\rustup-init.exe -y --default-host=x86_64-pc-windows-msvc --default-toolchain=none
42
+ del rustup-init.exe
43
+ rustup target add ${{ matrix.target }}
44
+ shell : powershell
52
45
53
46
- name : Add mingw32 to path for i686-gnu
54
47
run : |
You can’t perform that action at this time.
0 commit comments