diff --git a/.github/workflows/gen_centos8.yml b/.github/workflows/gen_centos8.yml index e255c5cd4..635718ddb 100644 --- a/.github/workflows/gen_centos8.yml +++ b/.github/workflows/gen_centos8.yml @@ -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: diff --git a/.github/workflows/gen_centos8_continuous.yml b/.github/workflows/gen_centos8_continuous.yml index 97e3885e7..30d263123 100644 --- a/.github/workflows/gen_centos8_continuous.yml +++ b/.github/workflows/gen_centos8_continuous.yml @@ -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: diff --git a/.github/workflows/gen_centos8_tag.yml b/.github/workflows/gen_centos8_tag.yml index 89118f20b..6b336ee75 100644 --- a/.github/workflows/gen_centos8_tag.yml +++ b/.github/workflows/gen_centos8_tag.yml @@ -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: diff --git a/.github/workflows/gen_centos9.yml b/.github/workflows/gen_centos9.yml index d97447628..c2a1208d6 100644 --- a/.github/workflows/gen_centos9.yml +++ b/.github/workflows/gen_centos9.yml @@ -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: diff --git a/.github/workflows/gen_centos9_continuous.yml b/.github/workflows/gen_centos9_continuous.yml index 2b1d85530..8c8347cc5 100644 --- a/.github/workflows/gen_centos9_continuous.yml +++ b/.github/workflows/gen_centos9_continuous.yml @@ -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: diff --git a/.github/workflows/gen_centos9_tag.yml b/.github/workflows/gen_centos9_tag.yml index 91581d1df..dd64f0159 100644 --- a/.github/workflows/gen_centos9_tag.yml +++ b/.github/workflows/gen_centos9_tag.yml @@ -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: diff --git a/.github/workflows/gen_debian10.3.yml b/.github/workflows/gen_debian10.3.yml index 22bb5a391..0f2445248 100644 --- a/.github/workflows/gen_debian10.3.yml +++ b/.github/workflows/gen_debian10.3.yml @@ -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: diff --git a/.github/workflows/gen_debian10.3_continuous.yml b/.github/workflows/gen_debian10.3_continuous.yml index 785b5fd31..2d44b4126 100644 --- a/.github/workflows/gen_debian10.3_continuous.yml +++ b/.github/workflows/gen_debian10.3_continuous.yml @@ -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: diff --git a/.github/workflows/gen_debian10.3_tag.yml b/.github/workflows/gen_debian10.3_tag.yml index 3017d18a9..2eb76e4ce 100644 --- a/.github/workflows/gen_debian10.3_tag.yml +++ b/.github/workflows/gen_debian10.3_tag.yml @@ -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: diff --git a/.github/workflows/gen_debian11.yml b/.github/workflows/gen_debian11.yml index b47d2f75c..0fbf98f58 100644 --- a/.github/workflows/gen_debian11.yml +++ b/.github/workflows/gen_debian11.yml @@ -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: diff --git a/.github/workflows/gen_debian11_continuous.yml b/.github/workflows/gen_debian11_continuous.yml index fa2f2aebe..803e77f02 100644 --- a/.github/workflows/gen_debian11_continuous.yml +++ b/.github/workflows/gen_debian11_continuous.yml @@ -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: diff --git a/.github/workflows/gen_debian11_tag.yml b/.github/workflows/gen_debian11_tag.yml index 86f042627..7ff6c09c0 100644 --- a/.github/workflows/gen_debian11_tag.yml +++ b/.github/workflows/gen_debian11_tag.yml @@ -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: diff --git a/.github/workflows/gen_debian12.yml b/.github/workflows/gen_debian12.yml index 9f15b12be..522536d56 100644 --- a/.github/workflows/gen_debian12.yml +++ b/.github/workflows/gen_debian12.yml @@ -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: diff --git a/.github/workflows/gen_debian12_continuous.yml b/.github/workflows/gen_debian12_continuous.yml index c2540c2da..0a91bdfc7 100644 --- a/.github/workflows/gen_debian12_continuous.yml +++ b/.github/workflows/gen_debian12_continuous.yml @@ -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: diff --git a/.github/workflows/gen_debian12_tag.yml b/.github/workflows/gen_debian12_tag.yml index 54847ebde..f6d5dacb3 100644 --- a/.github/workflows/gen_debian12_tag.yml +++ b/.github/workflows/gen_debian12_tag.yml @@ -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: diff --git a/.github/workflows/gen_fedora37.yml b/.github/workflows/gen_fedora37.yml index 7543b1116..951cb472f 100644 --- a/.github/workflows/gen_fedora37.yml +++ b/.github/workflows/gen_fedora37.yml @@ -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: diff --git a/.github/workflows/gen_fedora37_continuous.yml b/.github/workflows/gen_fedora37_continuous.yml index 134ff5202..f454d1bbb 100644 --- a/.github/workflows/gen_fedora37_continuous.yml +++ b/.github/workflows/gen_fedora37_continuous.yml @@ -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: diff --git a/.github/workflows/gen_fedora37_tag.yml b/.github/workflows/gen_fedora37_tag.yml index 0db4e2b3e..c5d0e2b6a 100644 --- a/.github/workflows/gen_fedora37_tag.yml +++ b/.github/workflows/gen_fedora37_tag.yml @@ -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: diff --git a/.github/workflows/gen_fedora38.yml b/.github/workflows/gen_fedora38.yml index 0f4f5ece2..39dff0a11 100644 --- a/.github/workflows/gen_fedora38.yml +++ b/.github/workflows/gen_fedora38.yml @@ -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: diff --git a/.github/workflows/gen_fedora38_continuous.yml b/.github/workflows/gen_fedora38_continuous.yml index 7d60c1980..376e8271a 100644 --- a/.github/workflows/gen_fedora38_continuous.yml +++ b/.github/workflows/gen_fedora38_continuous.yml @@ -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: diff --git a/.github/workflows/gen_fedora38_tag.yml b/.github/workflows/gen_fedora38_tag.yml index c36f1af5b..93818709b 100644 --- a/.github/workflows/gen_fedora38_tag.yml +++ b/.github/workflows/gen_fedora38_tag.yml @@ -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: diff --git a/.github/workflows/gen_fedora39.yml b/.github/workflows/gen_fedora39.yml index d7cac37da..01c42aad5 100644 --- a/.github/workflows/gen_fedora39.yml +++ b/.github/workflows/gen_fedora39.yml @@ -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: diff --git a/.github/workflows/gen_fedora39_continuous.yml b/.github/workflows/gen_fedora39_continuous.yml index 07b14c726..b6ddf3b04 100644 --- a/.github/workflows/gen_fedora39_continuous.yml +++ b/.github/workflows/gen_fedora39_continuous.yml @@ -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: diff --git a/.github/workflows/gen_fedora39_tag.yml b/.github/workflows/gen_fedora39_tag.yml index 72c396d02..27ab4bd00 100644 --- a/.github/workflows/gen_fedora39_tag.yml +++ b/.github/workflows/gen_fedora39_tag.yml @@ -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: diff --git a/.github/workflows/gen_macos.yml b/.github/workflows/gen_macos.yml index 8a4960b15..d3744c72d 100644 --- a/.github/workflows/gen_macos.yml +++ b/.github/workflows/gen_macos.yml @@ -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: diff --git a/.github/workflows/gen_macos_continuous.yml b/.github/workflows/gen_macos_continuous.yml index cfc56f430..8b8cbcff7 100644 --- a/.github/workflows/gen_macos_continuous.yml +++ b/.github/workflows/gen_macos_continuous.yml @@ -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: diff --git a/.github/workflows/gen_macos_tag.yml b/.github/workflows/gen_macos_tag.yml index 2dea41966..df0798a31 100644 --- a/.github/workflows/gen_macos_tag.yml +++ b/.github/workflows/gen_macos_tag.yml @@ -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: diff --git a/.github/workflows/gen_ubuntu20.04.yml b/.github/workflows/gen_ubuntu20.04.yml index 40e7bb6fb..b7fa1e5d5 100644 --- a/.github/workflows/gen_ubuntu20.04.yml +++ b/.github/workflows/gen_ubuntu20.04.yml @@ -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: diff --git a/.github/workflows/gen_ubuntu20.04_continuous.yml b/.github/workflows/gen_ubuntu20.04_continuous.yml index 32763deff..cc4f51b00 100644 --- a/.github/workflows/gen_ubuntu20.04_continuous.yml +++ b/.github/workflows/gen_ubuntu20.04_continuous.yml @@ -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: diff --git a/.github/workflows/gen_ubuntu20.04_tag.yml b/.github/workflows/gen_ubuntu20.04_tag.yml index 9e20863bc..6eb6b1cc6 100644 --- a/.github/workflows/gen_ubuntu20.04_tag.yml +++ b/.github/workflows/gen_ubuntu20.04_tag.yml @@ -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: diff --git a/.github/workflows/gen_ubuntu22.04.yml b/.github/workflows/gen_ubuntu22.04.yml index 6b1f0530d..53d85c756 100644 --- a/.github/workflows/gen_ubuntu22.04.yml +++ b/.github/workflows/gen_ubuntu22.04.yml @@ -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: diff --git a/.github/workflows/gen_ubuntu22.04_continuous.yml b/.github/workflows/gen_ubuntu22.04_continuous.yml index a23ac4f5e..580388b32 100644 --- a/.github/workflows/gen_ubuntu22.04_continuous.yml +++ b/.github/workflows/gen_ubuntu22.04_continuous.yml @@ -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: diff --git a/.github/workflows/gen_ubuntu22.04_tag.yml b/.github/workflows/gen_ubuntu22.04_tag.yml index 58ae8b7ac..20529eb08 100644 --- a/.github/workflows/gen_ubuntu22.04_tag.yml +++ b/.github/workflows/gen_ubuntu22.04_tag.yml @@ -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: diff --git a/.github/workflows/gen_windows.yml b/.github/workflows/gen_windows.yml index 3b5a0453f..61dd30897 100644 --- a/.github/workflows/gen_windows.yml +++ b/.github/workflows/gen_windows.yml @@ -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: diff --git a/.github/workflows/gen_windows_continuous.yml b/.github/workflows/gen_windows_continuous.yml index 4c2e4fffb..db1060f2a 100644 --- a/.github/workflows/gen_windows_continuous.yml +++ b/.github/workflows/gen_windows_continuous.yml @@ -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: diff --git a/.github/workflows/gen_windows_tag.yml b/.github/workflows/gen_windows_tag.yml index 6d9c3e712..bcb7ad9b2 100644 --- a/.github/workflows/gen_windows_tag.yml +++ b/.github/workflows/gen_windows_tag.yml @@ -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: diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index df8728f0f..6493da456 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -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