mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-16 09:08:37 +01:00
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
name: Merge (with bors)
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- staging
|
|
- trying
|
|
tags-ignore:
|
|
- "*"
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- name: stable-ubuntu
|
|
platform: ubuntu
|
|
toolchain: stable
|
|
- name: stable-windows
|
|
platform: windows
|
|
toolchain: stable
|
|
- name: stable-macos
|
|
platform: macos
|
|
toolchain: stable
|
|
- name: msrv-ubuntu
|
|
platform: ubuntu
|
|
toolchain: 1.60.0
|
|
- name: msrv-windows
|
|
platform: windows
|
|
toolchain: 1.60.0
|
|
- name: msrv-macos
|
|
platform: macos
|
|
toolchain: 1.60.0
|
|
|
|
name: Test on ${{ matrix.platform }} with Rust ${{ matrix.toolchain }}
|
|
runs-on: "${{ matrix.platform }}-latest"
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: "${{ matrix.toolchain }}"
|
|
override: true
|
|
- name: Run test suite
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
- name: Check that CLI runs
|
|
run: cargo run -p watchexec-cli -- -1 echo
|