mirror of
https://github.com/wez/wezterm.git
synced 2024-08-17 02:00:25 +03:00
ci: avoid bundling deps for various sub crates
In particular, strip-ansi-escapes' dep graph is expanded by the overall set of enabled crate features when doing an indiscriminate `cargo build` vs. `cargo build -p strip-ansi-escapes`. This may help to avoid tripping over whatever is problematic in https://github.com/wez/wezterm/issues/5074
This commit is contained in:
parent
2bb573d9fc
commit
4de4061bf3
13
.github/workflows/gen_centos8.yml
vendored
13
.github/workflows/gen_centos8.yml
vendored
@ -76,9 +76,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_centos8_continuous.yml
vendored
13
.github/workflows/gen_centos8_continuous.yml
vendored
@ -79,9 +79,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_centos8_tag.yml
vendored
13
.github/workflows/gen_centos8_tag.yml
vendored
@ -59,9 +59,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_centos9.yml
vendored
13
.github/workflows/gen_centos9.yml
vendored
@ -76,9 +76,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_centos9_continuous.yml
vendored
13
.github/workflows/gen_centos9_continuous.yml
vendored
@ -79,9 +79,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_centos9_tag.yml
vendored
13
.github/workflows/gen_centos9_tag.yml
vendored
@ -59,9 +59,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_debian10.3.yml
vendored
13
.github/workflows/gen_debian10.3.yml
vendored
@ -79,9 +79,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_debian10.3_continuous.yml
vendored
13
.github/workflows/gen_debian10.3_continuous.yml
vendored
@ -82,9 +82,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_debian10.3_tag.yml
vendored
13
.github/workflows/gen_debian10.3_tag.yml
vendored
@ -62,9 +62,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_debian11.yml
vendored
13
.github/workflows/gen_debian11.yml
vendored
@ -79,9 +79,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_debian11_continuous.yml
vendored
13
.github/workflows/gen_debian11_continuous.yml
vendored
@ -82,9 +82,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_debian11_tag.yml
vendored
13
.github/workflows/gen_debian11_tag.yml
vendored
@ -62,9 +62,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_debian12.yml
vendored
13
.github/workflows/gen_debian12.yml
vendored
@ -79,9 +79,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_debian12_continuous.yml
vendored
13
.github/workflows/gen_debian12_continuous.yml
vendored
@ -82,9 +82,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_debian12_tag.yml
vendored
13
.github/workflows/gen_debian12_tag.yml
vendored
@ -62,9 +62,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_fedora37.yml
vendored
13
.github/workflows/gen_fedora37.yml
vendored
@ -73,9 +73,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_fedora37_continuous.yml
vendored
13
.github/workflows/gen_fedora37_continuous.yml
vendored
@ -76,9 +76,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_fedora37_tag.yml
vendored
13
.github/workflows/gen_fedora37_tag.yml
vendored
@ -56,9 +56,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_fedora38.yml
vendored
13
.github/workflows/gen_fedora38.yml
vendored
@ -73,9 +73,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_fedora38_continuous.yml
vendored
13
.github/workflows/gen_fedora38_continuous.yml
vendored
@ -76,9 +76,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_fedora38_tag.yml
vendored
13
.github/workflows/gen_fedora38_tag.yml
vendored
@ -56,9 +56,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_fedora39.yml
vendored
13
.github/workflows/gen_fedora39.yml
vendored
@ -73,9 +73,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_fedora39_continuous.yml
vendored
13
.github/workflows/gen_fedora39_continuous.yml
vendored
@ -76,9 +76,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_fedora39_tag.yml
vendored
13
.github/workflows/gen_fedora39_tag.yml
vendored
@ -56,9 +56,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
26
.github/workflows/gen_macos.yml
vendored
26
.github/workflows/gen_macos.yml
vendored
@ -54,12 +54,30 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode Intel)"
|
||||
- name: "Build wezterm (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin --all --release"
|
||||
- name: "Build (Release mode ARM)"
|
||||
run: "cargo build --target x86_64-apple-darwin -p wezterm --release"
|
||||
- name: "Build wezterm (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin --all --release"
|
||||
run: "cargo build --target aarch64-apple-darwin -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin -p wezterm-gui --release"
|
||||
- name: "Build wezterm-gui (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin -p wezterm-mux-server --release"
|
||||
- name: "Build wezterm-mux-server (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin -p strip-ansi-escapes --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
26
.github/workflows/gen_macos_continuous.yml
vendored
26
.github/workflows/gen_macos_continuous.yml
vendored
@ -57,12 +57,30 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode Intel)"
|
||||
- name: "Build wezterm (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin --all --release"
|
||||
- name: "Build (Release mode ARM)"
|
||||
run: "cargo build --target x86_64-apple-darwin -p wezterm --release"
|
||||
- name: "Build wezterm (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin --all --release"
|
||||
run: "cargo build --target aarch64-apple-darwin -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin -p wezterm-gui --release"
|
||||
- name: "Build wezterm-gui (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin -p wezterm-mux-server --release"
|
||||
- name: "Build wezterm-mux-server (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin -p strip-ansi-escapes --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
26
.github/workflows/gen_macos_tag.yml
vendored
26
.github/workflows/gen_macos_tag.yml
vendored
@ -42,12 +42,30 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode Intel)"
|
||||
- name: "Build wezterm (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin --all --release"
|
||||
- name: "Build (Release mode ARM)"
|
||||
run: "cargo build --target x86_64-apple-darwin -p wezterm --release"
|
||||
- name: "Build wezterm (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin --all --release"
|
||||
run: "cargo build --target aarch64-apple-darwin -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin -p wezterm-gui --release"
|
||||
- name: "Build wezterm-gui (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin -p wezterm-mux-server --release"
|
||||
- name: "Build wezterm-mux-server (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode Intel)"
|
||||
shell: bash
|
||||
run: "cargo build --target x86_64-apple-darwin -p strip-ansi-escapes --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode ARM)"
|
||||
shell: bash
|
||||
run: "cargo build --target aarch64-apple-darwin -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_ubuntu20.04.yml
vendored
13
.github/workflows/gen_ubuntu20.04.yml
vendored
@ -84,9 +84,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_ubuntu20.04_continuous.yml
vendored
13
.github/workflows/gen_ubuntu20.04_continuous.yml
vendored
@ -87,9 +87,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
13
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
@ -64,9 +64,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_ubuntu22.04.yml
vendored
13
.github/workflows/gen_ubuntu22.04.yml
vendored
@ -79,9 +79,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_ubuntu22.04_continuous.yml
vendored
13
.github/workflows/gen_ubuntu22.04_continuous.yml
vendored
@ -82,9 +82,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
13
.github/workflows/gen_ubuntu22.04_tag.yml
vendored
13
.github/workflows/gen_ubuntu22.04_tag.yml
vendored
@ -62,9 +62,18 @@ jobs:
|
||||
- name: "Install System Deps"
|
||||
shell: bash
|
||||
run: "env CI=yes PATH=$PATH ./get-deps"
|
||||
- name: "Build (Release mode)"
|
||||
- name: "Build wezterm (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build --all --release"
|
||||
run: "cargo build -p wezterm --release"
|
||||
- name: "Build wezterm-gui (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-gui --release"
|
||||
- name: "Build wezterm-mux-server (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p wezterm-mux-server --release"
|
||||
- name: "Build strip-ansi-escapes (Release mode)"
|
||||
shell: bash
|
||||
run: "cargo build -p strip-ansi-escapes --release"
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
20
.github/workflows/gen_windows.yml
vendored
20
.github/workflows/gen_windows.yml
vendored
@ -52,7 +52,25 @@ jobs:
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build --all --release
|
||||
cargo build -p wezterm --release
|
||||
- name: "Build (Release mode)"
|
||||
shell: cmd
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build -p wezterm-gui --release
|
||||
- name: "Build (Release mode)"
|
||||
shell: cmd
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build -p wezterm-mux-server --release
|
||||
- name: "Build (Release mode)"
|
||||
shell: cmd
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build -p strip-ansi-escapes --release
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
20
.github/workflows/gen_windows_continuous.yml
vendored
20
.github/workflows/gen_windows_continuous.yml
vendored
@ -55,7 +55,25 @@ jobs:
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build --all --release
|
||||
cargo build -p wezterm --release
|
||||
- name: "Build (Release mode)"
|
||||
shell: cmd
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build -p wezterm-gui --release
|
||||
- name: "Build (Release mode)"
|
||||
shell: cmd
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build -p wezterm-mux-server --release
|
||||
- name: "Build (Release mode)"
|
||||
shell: cmd
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build -p strip-ansi-escapes --release
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
20
.github/workflows/gen_windows_tag.yml
vendored
20
.github/workflows/gen_windows_tag.yml
vendored
@ -42,7 +42,25 @@ jobs:
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build --all --release
|
||||
cargo build -p wezterm --release
|
||||
- name: "Build (Release mode)"
|
||||
shell: cmd
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build -p wezterm-gui --release
|
||||
- name: "Build (Release mode)"
|
||||
shell: cmd
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build -p wezterm-mux-server --release
|
||||
- name: "Build (Release mode)"
|
||||
shell: cmd
|
||||
run: |
|
||||
|
||||
PATH C:\Strawberry\perl\bin;%PATH%
|
||||
cargo build -p strip-ansi-escapes --release
|
||||
- name: "Install cargo-nextest from Cargo"
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
|
@ -425,36 +425,47 @@ rustup default {toolchain}
|
||||
]
|
||||
|
||||
def build_all_release(self):
|
||||
if "win" in self.name:
|
||||
return [
|
||||
RunStep(
|
||||
name="Build (Release mode)",
|
||||
shell="cmd",
|
||||
run="""
|
||||
PATH C:\\Strawberry\\perl\\bin;%PATH%
|
||||
cargo build --all --release""",
|
||||
)
|
||||
]
|
||||
if "macos" in self.name:
|
||||
return [
|
||||
RunStep(
|
||||
name="Build (Release mode Intel)",
|
||||
run="cargo build --target x86_64-apple-darwin --all --release",
|
||||
),
|
||||
RunStep(
|
||||
name="Build (Release mode ARM)",
|
||||
run="cargo build --target aarch64-apple-darwin --all --release",
|
||||
),
|
||||
]
|
||||
if self.name == "centos7":
|
||||
enable = "source /opt/rh/devtoolset-9/enable && "
|
||||
else:
|
||||
enable = ""
|
||||
return [
|
||||
RunStep(
|
||||
name="Build (Release mode)", run=enable + "cargo build --all --release"
|
||||
)
|
||||
bin_crates = [
|
||||
"wezterm",
|
||||
"wezterm-gui",
|
||||
"wezterm-mux-server",
|
||||
"strip-ansi-escapes",
|
||||
]
|
||||
steps = []
|
||||
for bin in bin_crates:
|
||||
if "win" in self.name:
|
||||
steps += [
|
||||
RunStep(
|
||||
name="Build (Release mode)",
|
||||
shell="cmd",
|
||||
run=f"""
|
||||
PATH C:\\Strawberry\\perl\\bin;%PATH%
|
||||
cargo build -p {bin} --release""",
|
||||
)
|
||||
]
|
||||
elif "macos" in self.name:
|
||||
steps += [
|
||||
RunStep(
|
||||
name=f"Build {bin} (Release mode Intel)",
|
||||
run=f"cargo build --target x86_64-apple-darwin -p {bin} --release",
|
||||
),
|
||||
RunStep(
|
||||
name=f"Build {bin} (Release mode ARM)",
|
||||
run=f"cargo build --target aarch64-apple-darwin -p {bin} --release",
|
||||
),
|
||||
]
|
||||
else:
|
||||
if self.name == "centos7":
|
||||
enable = "source /opt/rh/devtoolset-9/enable && "
|
||||
else:
|
||||
enable = ""
|
||||
steps += [
|
||||
RunStep(
|
||||
name=f"Build {bin} (Release mode)",
|
||||
run=enable + f"cargo build -p {bin} --release",
|
||||
)
|
||||
]
|
||||
return steps
|
||||
|
||||
def test_all_release(self):
|
||||
run = "cargo nextest run --all --release --no-fail-fast"
|
||||
@ -892,7 +903,7 @@ cargo build --all --release""",
|
||||
steps += self.install_openssh_server()
|
||||
steps += self.checkout()
|
||||
# We should be able to cache mac builds now?
|
||||
steps += self.install_rust() # cache="mac" not in self.name)
|
||||
steps += self.install_rust() # cache="mac" not in self.name)
|
||||
steps += self.install_system_deps()
|
||||
return steps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user