mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 12:54:42 +00:00
Merge pull request #1347 from zed-industries/rustup-directly-on-ci
Use rustup directly on CI instead of actions-rs/toolchain
This commit is contained in:
commit
a452699f6b
1 changed files with 11 additions and 34 deletions
45
.github/workflows/ci.yml
vendored
45
.github/workflows/ci.yml
vendored
|
@ -25,19 +25,10 @@ jobs:
|
||||||
RUSTFLAGS: -D warnings
|
RUSTFLAGS: -D warnings
|
||||||
steps:
|
steps:
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
run: |
|
||||||
with:
|
rustup set profile minimal
|
||||||
toolchain: stable
|
rustup update stable
|
||||||
target: aarch64-apple-darwin
|
rustup target add wasm32-wasi
|
||||||
profile: minimal
|
|
||||||
default: true
|
|
||||||
|
|
||||||
- name: Install Rust wasm32-wasi target
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
target: wasm32-wasi
|
|
||||||
profile: minimal
|
|
||||||
|
|
||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
|
@ -66,27 +57,13 @@ jobs:
|
||||||
APPLE_NOTARIZATION_USERNAME: ${{ secrets.APPLE_NOTARIZATION_USERNAME }}
|
APPLE_NOTARIZATION_USERNAME: ${{ secrets.APPLE_NOTARIZATION_USERNAME }}
|
||||||
APPLE_NOTARIZATION_PASSWORD: ${{ secrets.APPLE_NOTARIZATION_PASSWORD }}
|
APPLE_NOTARIZATION_PASSWORD: ${{ secrets.APPLE_NOTARIZATION_PASSWORD }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install Rust aarch64-apple-darwin target
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
run: |
|
||||||
with:
|
rustup set profile minimal
|
||||||
toolchain: stable
|
rustup update stable
|
||||||
target: aarch64-apple-darwin
|
rustup target add aarch64-apple-darwin
|
||||||
profile: minimal
|
rustup target add x86_64-apple-darwin
|
||||||
default: true
|
rustup target add wasm32-wasi
|
||||||
|
|
||||||
- name: Install Rust x86_64-apple-darwin target
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
target: x86_64-apple-darwin
|
|
||||||
profile: minimal
|
|
||||||
|
|
||||||
- name: Install Rust wasm32-wasi target
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
target: wasm32-wasi
|
|
||||||
profile: minimal
|
|
||||||
|
|
||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
|
|
Loading…
Reference in a new issue