fork/wezterm
git clone https://git.julia.blue/fork/wezterm
836a0855f
termwiz-0.23.0
1name : debian12_continuous 2 3on : 4schedule : 5- cron : "10 3 * * *" 6push : 7branches : 8- main 9paths : 10- "**/*.rs" 11- "**/Cargo.lock" 12- "**/Cargo.toml" 13- ".github/workflows/gen_debian12_continuous.yml" 14- "assets/fonts/**/*" 15- "assets/icon/*" 16- "assets/open-wezterm-here" 17- "assets/shell-completion/**/*" 18- "assets/shell-integration/**/*" 19- "assets/wezterm-nautilus.py" 20- "assets/wezterm.appdata.xml" 21- "assets/wezterm.desktop" 22- "ci/deploy.sh" 23- "ci/tag-name.sh" 24- "get-deps" 25- "termwiz/data/wezterm.terminfo" 26 27jobs : 28build : 29runs-on : "ubuntu-latest" 30container : "debian:12" 31env : 32BUILD_REASON : "Schedule" 33CARGO_INCREMENTAL : "0" 34SCCACHE_GHA_ENABLED : "true" 35RUSTC_WRAPPER : "sccache" 36 37steps : 38- name : "set APT to non-interactive" 39shell : bash 40run : "echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections" 41- name : "Update APT" 42shell : bash 43run : "apt update" 44- name : "Install git" 45shell : bash 46run : "apt-get install -y git" 47- name : "Install curl" 48shell : bash 49run : "apt-get install -y curl" 50- name : "Update APT" 51shell : bash 52run : "apt update" 53- name : "Ensure /run/sshd exists" 54shell : bash 55run : "mkdir -p /run/sshd" 56- name : "Install openssh-server" 57shell : bash 58run : "apt-get install -y openssh-server" 59- name : "Workaround git permissions issue" 60shell : bash 61run : "git config --global --add safe.directory /__w/wezterm/wezterm" 62- name : "checkout repo" 63uses : actions/checkout@v4 64with : 65submodules : "recursive" 66- name : "Install Rust" 67uses : dtolnay/rust-toolchain@stable 68- name : "Compile with sccache" 69uses : mozilla-actions/sccache-action@v0.0.7 70- name : "Cache Rust Dependencies" 71uses : actions/cache@v4 72id : cache-cargo-vendor 73with : 74path : | 75vendor 76.cargo/config 77key : "cargo-deps-${{ hashFiles('**/Cargo.lock') }}" 78- name : "Vendor dependecies" 79if : steps.cache-cargo-vendor.outputs.cache-hit != 'true' 80shell : bash 81run : "cargo vendor --locked --versioned-dirs >> .cargo/config" 82- name : "Install System Deps" 83shell : bash 84run : "env CI=yes PATH=$PATH ./get-deps" 85- name : "Build wezterm (Release mode)" 86shell : bash 87run : "cargo build -p wezterm --release" 88- name : "Build wezterm-gui (Release mode)" 89shell : bash 90run : "cargo build -p wezterm-gui --release" 91- name : "Build wezterm-mux-server (Release mode)" 92shell : bash 93run : "cargo build -p wezterm-mux-server --release" 94- name : "Build strip-ansi-escapes (Release mode)" 95shell : bash 96run : "cargo build -p strip-ansi-escapes --release" 97- name : "Install cargo-nextest from Cargo" 98uses : baptiste0928/cargo-install@v3 99with : 100crate : "cargo-nextest" 101cache-key : "debian12" 102- name : "Test" 103shell : bash 104run : "cargo nextest run --all --no-fail-fast" 105- name : "Package" 106shell : bash 107run : "bash ci/deploy.sh" 108- name : "Upload artifact" 109uses : actions/upload-artifact@v4 110with : 111name : "debian12" 112path : | 113wezterm-*.deb 114wezterm-*.xz 115retention-days : 5 116 117upload : 118runs-on : ubuntu-latest 119needs : build 120permissions : 121contents : write 122pages : write 123id-token : write 124 125steps : 126- name : "Workaround git permissions issue" 127shell : bash 128run : "git config --global --add safe.directory /__w/wezterm/wezterm" 129- name : "checkout repo" 130uses : actions/checkout@v4 131- name : "Download artifact" 132uses : actions/download-artifact@v4 133with : 134name : "debian12" 135- name : "Checksum" 136shell : bash 137run : "for f in wezterm-*.deb wezterm-*.xz ; do sha256sum $f > $f.sha256 ; done" 138- name : "Upload to Nightly Release" 139env : 140GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 141shell : bash 142run : "bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz *.sha256"