aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-04-02 10:50:05 -0700
committerElliott Hughes <enh@google.com>2021-04-02 10:50:05 -0700
commitd7bcf437866b7142b68207bb7ac480dfe63ab990 (patch)
treecc218f809b980499efdc11c0902cd6c3b2637ab4 /.github
parenteaca4d18d27d7fa54182f1cd91849bddca42db92 (diff)
downloadwhich-d7bcf437866b7142b68207bb7ac480dfe63ab990.tar.gz
Upgrade rust/crates/which to 4.1.0android-s-beta-2android-s-beta-1
Test: make Change-Id: I7f3f322721f4e003735ea1147bec93355b0a4b32
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rust.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
new file mode 100644
index 0000000..288ccaf
--- /dev/null
+++ b/.github/workflows/rust.yml
@@ -0,0 +1,28 @@
+name: Rust
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+
+ test:
+ name: Build and test
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os:
+ - ubuntu-latest
+ - windows-latest
+ - macos-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - run: cargo build --verbose
+ - run: cargo test --verbose