summaryrefslogtreecommitdiffstats
path: root/src/tools/rust-installer/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rust-installer/.github/workflows/ci.yml')
-rw-r--r--src/tools/rust-installer/.github/workflows/ci.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/tools/rust-installer/.github/workflows/ci.yml b/src/tools/rust-installer/.github/workflows/ci.yml
new file mode 100644
index 000000000..57a5cb76e
--- /dev/null
+++ b/src/tools/rust-installer/.github/workflows/ci.yml
@@ -0,0 +1,23 @@
+---
+
+name: CI
+on: [push, pull_request]
+
+jobs:
+ test:
+ name: Test
+ runs-on: ubuntu-latest
+ env:
+ LZMA_API_STATIC: 1
+ steps:
+ - name: Checkout the source code
+ uses: actions/checkout@v2
+
+ - name: Install Rust stable
+ run: rustup toolchain update stable && rustup default stable
+
+ - name: Build the tool
+ run: cargo build
+
+ - name: Execute the test suite
+ run: ./test.sh