fork/wezterm
git clone https://git.julia.blue/fork/wezterm
7d0bff069
termwiz-0.23.1
1name : fedora41 2 3on : 4pull_request : 5branches : 6- main 7paths : 8- "**/*.rs" 9- "**/Cargo.lock" 10- "**/Cargo.toml" 11- ".cargo/config.toml" 12- ".github/workflows/gen_fedora41.yml" 13- "assets/fonts/**/*" 14- "assets/icon/*" 15- "assets/open-wezterm-here" 16- "assets/shell-completion/**/*" 17- "assets/shell-integration/**/*" 18- "assets/wezterm-nautilus.py" 19- "assets/wezterm.appdata.xml" 20- "assets/wezterm.desktop" 21- "ci/deploy.sh" 22- "ci/tag-name.sh" 23- "get-deps" 24- "termwiz/data/wezterm.terminfo" 25 26jobs : 27build : 28runs-on : "ubuntu-latest" 29container : "fedora:41" 30env : 31CARGO_INCREMENTAL : "0" 32SCCACHE_GHA_ENABLED : "true" 33RUSTC_WRAPPER : "sccache" 34 35steps : 36- name : "Install config manager" 37shell : bash 38run : "dnf install -y 'dnf-command(config-manager)'" 39- name : "Install git" 40shell : bash 41run : "yum install -y git" 42- name : "Install curl" 43shell : bash 44run : "yum install -y curl" 45- name : "Ensure /run/sshd exists" 46shell : bash 47run : "mkdir -p /run/sshd" 48- name : "Install openssh-server" 49shell : bash 50run : "yum install -y openssh-server" 51- name : "Workaround git permissions issue" 52shell : bash 53run : "git config --global --add safe.directory /__w/wezterm/wezterm" 54- name : "checkout repo" 55uses : actions/checkout@v4 56with : 57submodules : "recursive" 58- name : "Install Rust" 59uses : dtolnay/rust-toolchain@stable 60- name : "Compile with sccache" 61uses : mozilla-actions/sccache-action@v0.0.7 62- name : "Cache Rust Dependencies" 63uses : actions/cache@v4 64id : cache-cargo-vendor 65with : 66path : | 67vendor 68.cargo/config 69key : "cargo-deps-${{ hashFiles('**/Cargo.lock') }}" 70- name : "Vendor dependecies" 71if : steps.cache-cargo-vendor.outputs.cache-hit != 'true' 72shell : bash 73run : "cargo vendor --locked --versioned-dirs >> .cargo/config" 74- name : "Install System Deps" 75shell : bash 76run : "env CI=yes PATH=$PATH ./get-deps" 77- name : "Build wezterm (Release mode)" 78shell : bash 79run : "cargo build -p wezterm --release" 80- name : "Build wezterm-gui (Release mode)" 81shell : bash 82run : "cargo build -p wezterm-gui --release" 83- name : "Build wezterm-mux-server (Release mode)" 84shell : bash 85run : "cargo build -p wezterm-mux-server --release" 86- name : "Build strip-ansi-escapes (Release mode)" 87shell : bash 88run : "cargo build -p strip-ansi-escapes --release" 89- name : "Install cargo-nextest from Cargo" 90uses : baptiste0928/cargo-install@v3 91with : 92crate : "cargo-nextest" 93cache-key : "fedora41" 94- name : "Test" 95shell : bash 96run : "cargo nextest run --all --no-fail-fast" 97- name : "Package" 98shell : bash 99run : "bash ci/deploy.sh" 100- name : "Move RPM" 101shell : bash 102run : "mv ~/rpmbuild/RPMS/*/*.rpm ." 103- name : "Upload artifact" 104uses : actions/upload-artifact@v4 105with : 106name : "fedora41" 107path : "wezterm-*.rpm"