fork/wezterm
git clone https://git.julia.blue/fork/wezterm
64b8749eb
main
1name : wezterm-ssh 2 3on : 4pull_request : 5branches : 6- main 7paths : 8- "wezterm-ssh/**" 9- "filedescriptor/**" 10- "pty/**" 11- "async_ossl/**" 12- "termwiz/**" 13- ".github/workflows/wezterm_ssh.yml" 14push : 15branches : 16- main 17paths : 18- "wezterm-ssh/**" 19- "filedescriptor/**" 20- "pty/**" 21- "async_ossl/**" 22- "termwiz/**" 23- ".github/workflows/wezterm_ssh.yml" 24 25jobs : 26build-wezterm-ssh-feature-libssh-rs : 27runs-on : ubuntu-latest 28steps : 29- name : Checkout 30uses : actions/checkout@v3 31- name : "Install Rust" 32uses : dtolnay/rust-toolchain@stable 33- name : "Cache cargo" 34uses : Swatinem/rust-cache@v2 35with : 36workspaces : | 37wezterm-ssh 38key : "wezterm-ssh-libssh-rs-${{ runner.os }}" 39- name : "Install cargo-nextest from Cargo" 40uses : baptiste0928/cargo-install@v2 41with : 42crate : "cargo-nextest" 43- name : Build 44run : | 45source $HOME/.cargo/env 46cargo build -p wezterm-ssh --no-default-features --features "libssh-rs vendored-openssl-libssh-rs" 47cargo nextest run --no-fail-fast -p wezterm-ssh --no-default-features --features "libssh-rs vendored-openssl-libssh-rs" 48build-wezterm-ssh-feature-ssh2 : 49runs-on : ubuntu-latest 50steps : 51- name : Checkout 52uses : actions/checkout@v3 53- name : "Install Rust" 54uses : dtolnay/rust-toolchain@stable 55- name : "Cache cargo" 56uses : Swatinem/rust-cache@v2 57with : 58workspaces : | 59wezterm-ssh 60key : "wezterm-ssh-ssh2-${{ runner.os }}" 61- name : "Install cargo-nextest from Cargo" 62uses : baptiste0928/cargo-install@v2 63with : 64crate : "cargo-nextest" 65- name : Build 66run : | 67 source $HOME/.cargo/env 68 cargo build -p wezterm-ssh --no-default-features --features "ssh2 vendored-openssl-ssh2" 69 cargo nextest run --no-fail-fast -p wezterm-ssh --no-default-features --features "ssh2 vendored-openssl-ssh2" 70