Updated github actions stuff

split CI into seperate files for "builds" and "warnings". also added
.github/ to cargo.toml to exclude from going to crates.io.
This commit is contained in:
Ezra Fein 2020-04-20 04:08:26 -04:00
parent a24d52026c
commit edf85ef7a5
3 changed files with 32 additions and 1 deletions

30
.github/workflows/builds.yml vendored Normal file
View File

@ -0,0 +1,30 @@
on: push
name: Builds
jobs:
ci:
runs-on: windows-latest
strategy:
matrix:
rust:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: build
- uses: actions-rs/cargo@v1
with:
command: test

View File

@ -1,6 +1,6 @@
on: push
name: Continuous integration
name: Warnings
jobs:
ci:

View File

@ -7,6 +7,7 @@ license-file = "LICENSE"
description = "A tetris clone running on a Novation Launchpad Mk2 MIDI controller"
repository = "https://github.com/BobbyBobson4888/lp_tetris"
readme = "README.md"
exclude = [".github/*"]
[dependencies]
midir = "0.5.0"