From 13a89f8c82f3ff45398b68f19c8d72d1e9446933 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Tue, 22 Oct 2019 12:56:36 -0700 Subject: [PATCH] Github build action --- lib/.github/workflows/rust.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 lib/.github/workflows/rust.yml diff --git a/lib/.github/workflows/rust.yml b/lib/.github/workflows/rust.yml new file mode 100644 index 0000000..06a66bb --- /dev/null +++ b/lib/.github/workflows/rust.yml @@ -0,0 +1,28 @@ +name: Rust + +on: [push, pull_request] + +jobs: + build: + name: Build on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macOS-latest] + + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.38.0 + override: true + - name: cargo fetch + uses: actions-rs/cargo@v1 + with: + command: fetch + - name: Build + uses: actions-rs/cargo@v1 + with: + command: build + args: --verbose --release --all + \ No newline at end of file