roc/.github/workflows/nightly.yml

33 lines
729 B
YAML
Raw Normal View History

2019-11-18 16:09:46 +03:00
on:
schedule:
- cron: '0 0 * * *'
name: Nightly Release Build
jobs:
2019-11-20 15:12:15 +03:00
build:
name: Test and Build
2019-11-18 16:09:46 +03:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
2019-11-20 15:12:15 +03:00
- run: rustup component add rustfmt
2019-11-18 16:09:46 +03:00
- uses: actions-rs/cargo@v1
2019-11-20 15:14:43 +03:00
name: cargo update (needed for Inkwell)
2019-11-18 16:09:46 +03:00
with:
command: update
- uses: actions-rs/cargo@v1
name: cargo test
with:
2019-11-20 15:14:57 +03:00
command: test
args: --release
2019-11-18 16:09:46 +03:00
- uses: actions-rs/cargo@v1
name: cargo build
with:
2019-11-20 15:14:57 +03:00
command: build
args: --release