fork/wezterm

git clone https://git.julia.blue/fork/wezterm

Jalil Salaméci: Use nextest (#3342)64b8749eb

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