Skip to content

Build Zed

Build Zed #12

Workflow file for this run

name: Build Zed
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
repository: zed-industries/zed
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Add WASM target
run: rustup target add wasm32-wasi
- name: Install C++ build tools
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Run cargo
run: cargo build --release
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: zed
path: target\release\Zed.exe