Skip to content

Commit

Permalink
ci: avoid bundling deps for various sub crates
Browse files Browse the repository at this point in the history
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 #5074
  • Loading branch information
wez committed Apr 5, 2024
1 parent 2bb573d commit 4de4061
Show file tree
Hide file tree
Showing 37 changed files with 494 additions and 105 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/gen_centos8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_centos8_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_centos8_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_centos9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_centos9_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_centos9_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_debian10.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_debian10.3_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_debian10.3_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_debian11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_debian11_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_debian11_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_debian12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_debian12_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_debian12_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_fedora37.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_fedora37_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_fedora37_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/gen_fedora38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading

0 comments on commit 4de4061

Please sign in to comment.