Skip to content

ci: add nightly release #67

ci: add nightly release

ci: add nightly release #67

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
paths:
- "Cargo.toml"
- "src/**"
- "devices/**"
- "!**.md"
pull_request:
branches: [ main ]
paths:
- "Cargo.toml"
- "src/**"
- "devices/**"
- "!**.md"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: build (${{ matrix.config.os }})
strategy:
matrix:
config:
- os: windows-latest
- os: ubuntu-latest
- os: macos-latest
runs-on: ${{ matrix.config.os }}
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test
- name: Run help
run: cargo run -- --help
- uses: actions/upload-artifact@v3
with:
name: wchisp-${{ matrix.config.os }}
path: target/debug/wchisp*