fork/wezterm

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

Wez Furlongci: disable termwiz fuzz job69bb69b9c

termwiz-0.23.0
1.9 KiB74 linesraw
1name: termwiz
2
3on:
4  pull_request:
5    branches:
6      - main
7    paths:
8      - "termwiz/**"
9      - "bidi/**"
10      - "wezterm-dynamic/**"
11      - "color-types/**"
12      - "filedescriptor/**"
13      - "vtparse/**"
14      - ".github/workflows/termwiz.yml"
15  push:
16    branches:
17      - main
18    paths:
19      - "termwiz/**"
20      - "bidi/**"
21      - "wezterm-dynamic/**"
22      - "color-types/**"
23      - "filedescriptor/**"
24      - "vtparse/**"
25      - ".github/workflows/termwiz.yml"
26
27jobs:
28  build-termwiz-all-features:
29    runs-on: ubuntu-latest
30    steps:
31      - name: Checkout
32        uses: actions/checkout@v3
33      - name: "Install Rust"
34        uses: dtolnay/rust-toolchain@stable
35      - name: "Cache cargo"
36        uses: Swatinem/rust-cache@v2
37        with:
38          workspaces: |
39            termwiz
40          key: "termwiz-${{ runner.os }}"
41      - name: "Install cargo-nextest from Cargo"
42        uses: baptiste0928/cargo-install@v2
43        with:
44          crate: "cargo-nextest"
45      - name: Build
46        run: |
47          source $HOME/.cargo/env
48          cargo build -p termwiz --all-features
49          cargo nextest run --no-fail-fast --package termwiz --all-features
50
51# Disabled because cargo-fuzz doesn't build with nightly or stable rust right now
52# fuzz-termwiz:
53#   runs-on: ubuntu-latest
54#   steps:
55#     - name: Checkout
56#       uses: actions/checkout@v3
57#     - name: "Install Stable Rust"
58#       uses: dtolnay/rust-toolchain@stable
59#     - name: "Cache cargo"
60#       uses: Swatinem/rust-cache@v2
61#       with:
62#         workspaces: |
63#           termwiz
64#         key: "termwiz-fuzz-${{ runner.os }}"
65#     - name: "Install cargo-fuzz from Cargo"
66#       uses: baptiste0928/cargo-install@v2
67#       with:
68#         crate: "cargo-fuzz"
69#     - name: Fuzz
70#       run: |
71#         source $HOME/.cargo/env
72#         cd termwiz/fuzz
73#         RUST_BACKTRACE=full cargo fuzz run escape_parse -- -max_total_time=60
74