Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use larger runners for Linux CI steps (#11574)
Kirill Bulatovbca639bda92a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 62996c9fb4c..d6ebb4c6135 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -104,23 +104,19 @@ jobs:# todo(linux): Actually run the testslinux_tests:name: (Linux) Run Clippy and tests- runs-on: ubuntu-latest+ runs-on:+ - self-hosted+ - deploysteps:+ - name: Add Rust to the PATH+ run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH+- name: Checkout repouses: actions/checkout@v4with:clean: falsesubmodules: "recursive"- - name: Cache dependencies- uses: swatinem/rust-cache@v2- with:- save-if: ${{ github.ref == 'refs/heads/main' }}-- - name: configure linux- shell: bash -euxo pipefail {0}- run: script/linux-- name: cargo clippyrun: cargo xtask clippy@@ -262,26 +258,25 @@ jobs:bundle-linux:name: Create a Linux bundle- runs-on: ubuntu-22.04 # keep the version fixed to avoid libc and dynamic linked library issues+ runs-on:+ - self-hosted+ - deployif: ${{ startsWith(github.ref, 'refs/tags/v') || contains(github.event.pull_request.labels.*.name, 'run-bundling') }}needs: [linux_tests]env:ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}steps:+ - name: Add Rust to the PATH+ run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH+- name: Checkout repouses: actions/checkout@v4with:clean: falsesubmodules: "recursive"- - name: Cache dependencies- uses: swatinem/rust-cache@v2- with:- save-if: ${{ github.ref == 'refs/heads/main' }}-- - name: Configure linux- shell: bash -euxo pipefail {0}- run: script/linux+ - name: Limit target directory size+ run: script/clear-target-dir-if-larger-than 100- name: Determine version and release channelif: ${{ startsWith(github.ref, 'refs/tags/v') }}diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.ymlindex 875a21aa0ff..2001138a5fe 100644--- a/.github/workflows/release_nightly.yml+++ b/.github/workflows/release_nightly.yml@@ -96,7 +96,9 @@ jobs:bundle-deb:name: Create a Linux *.tar.gz bundleif: github.repository_owner == 'zed-industries'- runs-on: ubuntu-22.04 # keep the version fixed to avoid libc and dynamic linked library issues+ runs-on:+ - self-hosted+ - deployneeds: testsenv:DIGITALOCEAN_SPACES_ACCESS_KEY: ${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }}@@ -109,14 +111,8 @@ jobs:clean: falsesubmodules: "recursive"- - name: Cache dependencies- uses: swatinem/rust-cache@v2- with:- save-if: ${{ github.ref == 'refs/heads/main' }}-- - name: Configure linux- shell: bash -euxo pipefail {0}- run: script/linux+ - name: Add Rust to the PATH+ run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH- name: Set release channel to nightlyrun: |diff --git a/crates/zed/resources/app-icon-dev.png b/crates/zed/resources/app-icon-dev.pngnew file mode 100644index 00000000000..b76e5788583Binary files /dev/null and b/crates/zed/resources/app-icon-dev.png differdiff --git a/crates/zed/resources/[email protected] b/crates/zed/resources/[email protected]new file mode 100644index 00000000000..6e08503927dBinary files /dev/null and b/crates/zed/resources/[email protected] differdiff --git a/script/linux b/script/linuxindex 135708f59f7..4ab3252c462 100755--- a/script/linux+++ b/script/linux@@ -1,12 +1,12 @@-#!/usr/bin/bash+#!/usr/bin/env bash-set -e+set -ex# Install our submodule dependenciesgit submodule update --init --recursive# install the wasm toolchain-rustup target add wasm32-wasi+which rustup > /dev/null 2>&1 || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y# if sudo is not installed, define an empty aliasmaysudo=$(command -v sudo || command -v doas || true)