mirror of
https://github.com/wez/wezterm.git
synced 2024-09-19 02:37:51 +03:00
Add wezterm-ssh independent CI task to verify libssh-rs and ssh2 features can work independently (#1544)
Add wezterm-ssh independent CI task to verify libssh-rs and ssh2 features can work independently
This commit is contained in:
parent
b5dfbc392c
commit
e46e2bae80
70
.github/workflows/wezterm_ssh.yml
vendored
Normal file
70
.github/workflows/wezterm_ssh.yml
vendored
Normal file
@ -0,0 +1,70 @@
|
||||
name: wezterm-ssh
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- ".cirrus.yml"
|
||||
- "docs/*"
|
||||
- "ci/build-docs.sh"
|
||||
- "ci/generate-docs.py"
|
||||
- "ci/subst-release-info.py"
|
||||
- ".github/workflows/pages.yml"
|
||||
- ".github/workflows/termwiz.yml"
|
||||
- ".github/workflows/verify-pages.yml"
|
||||
- ".github/ISSUE_TEMPLATE/*"
|
||||
- "**/*.md"
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- ".cirrus.yml"
|
||||
- "docs/**"
|
||||
- "ci/build-docs.sh"
|
||||
- "ci/generate-docs.py"
|
||||
- "ci/subst-release-info.py"
|
||||
- ".github/workflows/pages.yml"
|
||||
- ".github/workflows/termwiz.yml"
|
||||
- ".github/workflows/verify-pages.yml"
|
||||
- ".github/ISSUE_TEMPLATE/*"
|
||||
- "**/*.md"
|
||||
|
||||
jobs:
|
||||
build-wezterm-ssh-feature-libssh-rs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- 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@v1
|
||||
- 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"
|
||||
|
Loading…
Reference in New Issue
Block a user