From 8b8889d8c6711e9c21b45fb879a0064b227f8f2f Mon Sep 17 00:00:00 2001 From: Stephen Touset Date: Fri, 20 Sep 2019 15:12:35 -0700 Subject: [PATCH] First attempt at CI through Github Actions --- rust.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 rust.yml diff --git a/rust.yml b/rust.yml new file mode 100644 index 00000000..07a14b97 --- /dev/null +++ b/rust.yml @@ -0,0 +1,27 @@ +name: Rust + +on: [push] + +jobs: + test: + name: Test ${{ profile }} build on ${{ matrix.os }} and Rust ${{ matrix.rust }} + + strategy: + matrix: + os: [ ubuntu-latest, macOS-latest, windows-latest ] + rust: [ 1.36.0, stable, beta, nightly ] + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ rust }} + - uses: actions-rs/cargo@v1 + with: + command: build + - uses: actions-rs/cargo@v1 + with: + command: test +