Skip to content

Commit

Permalink
win targets, not toolchains, for cross-compile
Browse files Browse the repository at this point in the history
  • Loading branch information
tantaman committed Oct 11, 2023
1 parent 960e323 commit 5389f66
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ jobs:
run: |
rustup toolchain install nightly-2023-10-05
rustup target add aarch64-unknown-linux-gnu --toolchain nightly-2023-10-05
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu
- name: Build
run: |
Expand Down Expand Up @@ -145,10 +146,9 @@ jobs:

- name: Rust Nightly
run: |
rm core/rs/bundle_static/rust-toolchain.toml
rustup toolchain install nightly-2023-06-17-x86_64-pc-windows-gnu
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-pc-windows-gnu
rustup default nightly-2023-10-05-x86_64-pc-windows-gnu
rustup toolchain install nightly-2023-10-05
rustup target add x86_64-pc-windows-gnu --toolchain nightly-2023-10-05
rustup component add rust-src --toolchain nightly-2023-10-05-x86_64-unknown-linux-gnu
- name: Build
run: |
Expand Down Expand Up @@ -180,10 +180,8 @@ jobs:

- name: Rust Nightly
run: |
rm core/rs/bundle_static/rust-toolchain.toml
rustup toolchain install nightly-2023-06-17-x86_64-pc-windows-gnu
rustup component add rust-src --toolchain nightly-2023-10-05-i686-pc-windows-gnu
rustup default nightly-2023-10-05-i686-pc-windows-gnu
rustup toolchain install nightly-2023-10-05
rustup target add i686-pc-windows-gnu --toolchain nightly-2023-10-05
- name: Build
run: |
Expand Down

0 comments on commit 5389f66

Please sign in to comment.