aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAlistair Delva <adelva@google.com>2020-11-05 09:26:33 -0800
committerAlistair Delva <adelva@google.com>2020-11-05 09:30:47 -0800
commitfe03cf3e1ebb8b90d5a8b483930914e4ced52e37 (patch)
treefac0b370b4a20e87c6089fc289fd582f08b35822 /.github/workflows
parente97f99462a5aad3cef4f14ac6f8139fca8b0f2f5 (diff)
downloaddowncast-rs-fe03cf3e1ebb8b90d5a8b483930914e4ced52e37.tar.gz
Initial import of downcast-rs rust crate
To support building newer versions of crosvm in AOSP. Bug: 171838689 Bug: 172468915 Change-Id: I12b2b84c32696f4e0f5dfeca32c1bfac67f07f7e
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml50
1 files changed, 50 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..7c62d23
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,50 @@
+name: CI
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: stable
+ components: clippy
+ - name: Build
+ uses: actions-rs/cargo@v1
+ with:
+ command: build
+ - name: Test
+ uses: actions-rs/cargo@v1
+ with:
+ command: test
+ - name: Clippy
+ uses: actions-rs/cargo@v1
+ with:
+ command: clippy
+ - name: Docs
+ uses: actions-rs/cargo@v1
+ with:
+ command: doc
+ - name: Build for no_std
+ uses: actions-rs/cargo@v1
+ with:
+ command: build
+ args: --no-default-features
+ - name: Test for no_std
+ uses: actions-rs/cargo@v1
+ with:
+ command: test
+ args: --no-default-features
+ - name: Clippy for no_std
+ uses: actions-rs/cargo@v1
+ with:
+ command: clippy
+ args: --no-default-features
+ - name: Docs for no_std
+ uses: actions-rs/cargo@v1
+ with:
+ command: doc
+ args: --no-default-features