2022-01-12 17:14:14 +03:00
|
|
|
name: termwiz
|
|
|
|
|
|
|
|
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/verify-pages.yml"
|
|
|
|
- ".github/ISSUE_TEMPLATE/*"
|
|
|
|
- "**/*.md"
|
2022-01-12 17:16:16 +03:00
|
|
|
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/verify-pages.yml"
|
|
|
|
- ".github/ISSUE_TEMPLATE/*"
|
|
|
|
- "**/*.md"
|
2022-01-12 17:14:14 +03:00
|
|
|
|
|
|
|
jobs:
|
2022-01-12 17:19:44 +03:00
|
|
|
build-termwiz-all-features:
|
2022-01-12 17:14:14 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-04-11 04:34:51 +03:00
|
|
|
uses: actions/checkout@v3
|
2022-01-12 17:14:14 +03:00
|
|
|
- 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 termwiz --all-features
|
2022-01-12 17:19:44 +03:00
|
|
|
cargo test -p termwiz --all-features
|
2022-01-12 17:14:14 +03:00
|
|
|
|