diff options
author | Stuart Stock <stuart@int08h.com> | 2020-07-12 17:44:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-12 17:44:18 -0500 |
commit | fe7041838661ea5d111116b9e473eecdd8f75a62 (patch) | |
tree | 37205e6bafe8600428e24cfaa563e1b3a53ca0f6 | |
parent | 93041341c85b7f3beb5b0afdf3900fc8a1387ab9 (diff) | |
download | roughenough-fe7041838661ea5d111116b9e473eecdd8f75a62.zip |
Try Gitbub actions for builds
-rw-r--r-- | .github/workflows/rust.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..51be4ac --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,29 @@ +name: Rust + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/cache@v2 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + - uses: actions/checkout@v2 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose |