Skip to content

Commit ae38506

Browse files
committed
Add missing toolchains.
1 parent d1465a8 commit ae38506

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/macos.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@ jobs:
1111
with:
1212
submodules: true
1313

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
18+
1419
- name: Build binary
15-
run: bash tool/build_macos.sh aarch64
20+
run: ./tool/build_macos.sh aarch64
1621

1722
- name: Upload binary
1823
if: github.event_name == 'workflow_dispatch'
@@ -30,8 +35,13 @@ jobs:
3035
with:
3136
submodules: true
3237

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
42+
3343
- name: Build binary
34-
run: bash tool/build_macos.sh x64
44+
run: ./tool/build_macos.sh x64
3545

3646
- name: Upload binary
3747
if: github.event_name == 'workflow_dispatch'

.github/workflows/windows.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ jobs:
1010
with:
1111
submodules: true
1212

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
17+
1318
- name: Build binary
14-
run: bash tool/build_windows.sh x64
19+
run: ./tool/build_windows.sh x64
1520

1621
- name: Upload binary
1722
if: github.event_name == 'workflow_dispatch'

0 commit comments

Comments
 (0)