Files
LLeMbas-TTY/.github/workflows/wezterm_ssh.yml
T

63 lines
1.7 KiB
YAML

name: wezterm-ssh
on:
pull_request:
branches:
- main
paths:
- "wezterm-ssh/**"
- "filedescriptor/**"
- "pty/**"
- "async_ossl/**"
- "termwiz/**"
- ".github/workflows/wezterm_ssh.yml"
push:
branches:
- main
paths:
- "wezterm-ssh/**"
- "filedescriptor/**"
- "pty/**"
- "async_ossl/**"
- "termwiz/**"
- ".github/workflows/wezterm_ssh.yml"
jobs:
build-wezterm-ssh-feature-libssh-rs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
profile: "minimal"
toolchain: "stable"
override: true
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
- name: Build
run: |
source $HOME/.cargo/env
cargo build -p wezterm-ssh --no-default-features --features "libssh-rs vendored-openssl-libssh-rs"
cargo test -p wezterm-ssh --no-default-features --features "libssh-rs vendored-openssl-libssh-rs"
build-wezterm-ssh-feature-ssh2:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
profile: "minimal"
toolchain: "stable"
override: true
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
- name: Build
run: |
source $HOME/.cargo/env
cargo build -p wezterm-ssh --no-default-features --features "ssh2 vendored-openssl-ssh2"
cargo test -p wezterm-ssh --no-default-features --features "ssh2 vendored-openssl-ssh2"