From f43ceb07df0f4048426930a5acd84f74cb79c4a4 Mon Sep 17 00:00:00 2001 From: michael bailey Date: Tue, 13 Apr 2021 21:54:20 +0100 Subject: [PATCH] Create rust.yml (#3) + added a workflow file for CI --- .github/workflows/rust.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..edf72fb --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,25 @@ +name: Rust + +on: + push: + branches: [ ref-method ] + pull_request: + branches: [ master ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + + steps: + - uses: actions/checkout@v2 + - name: check + run: cargo check --verbose + - name: Build + run: cargo build --verbose +