File tree 3 files changed +22
-13
lines changed
3 files changed +22
-13
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,11 @@ jobs:
11
11
with :
12
12
submodules : true
13
13
14
- - name : Setup
15
- run : |
16
- rustup toolchain install nightly-2024-05-18-aarch64-apple-darwin
17
- rustup component add rust-src --toolchain nightly-2024-05-18-aarch64-apple-darwin
14
+ - name : Install Rust Nightly
15
+ uses : dtolnay/rust-toolchain@stable
16
+ with :
17
+ toolchain : nightly-2024-05-18
18
+ components : rust-src
18
19
19
20
- name : Build binary
20
21
run : ./tool/build_macos.sh aarch64
@@ -35,10 +36,11 @@ jobs:
35
36
with :
36
37
submodules : true
37
38
38
- - name : Setup
39
- run : |
40
- rustup toolchain install nightly-2024-05-18-x86_64-apple-darwin
41
- rustup component add rust-src --toolchain nightly-2024-05-18-x86_64-apple-darwin
39
+ - name : Install Rust Nightly
40
+ uses : dtolnay/rust-toolchain@stable
41
+ with :
42
+ toolchain : nightly-2024-05-18
43
+ components : rust-src
42
44
43
45
- name : Build binary
44
46
run : ./tool/build_macos.sh x64
Original file line number Diff line number Diff line change 20
20
- name : Ubuntu setup
21
21
if : matrix.os == 'ubuntu-24.04'
22
22
run : |
23
- sudo apt install libreadline-dev gcc-aarch64-linux-gnu
23
+ sudo apt install libreadline-dev
24
+
25
+ - name : Install Rust Nightly
26
+ uses : dtolnay/rust-toolchain@stable
27
+ with :
28
+ toolchain : nightly-2024-05-18
29
+ components : rust-src
24
30
25
31
- name : Build
26
32
run : |
Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ jobs:
10
10
with :
11
11
submodules : true
12
12
13
- - name : Setup
14
- run : |
15
- rustup toolchain install nightly-2024-05-18-x86_64-pc-windows-msvc
16
- rustup component add rust-src --toolchain nightly-2024-05-18-x86_64-pc-windows-msvc
13
+ - name : Install Rust Nightly
14
+ uses : dtolnay/rust-toolchain@stable
15
+ with :
16
+ toolchain : nightly-2024-05-18
17
+ components : rust-src
17
18
18
19
- name : Build binary
19
20
run : ./tool/build_windows.sh x64
You can’t perform that action at this time.
0 commit comments