aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2021-09-03 00:08:55 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2021-09-03 00:08:55 +0200
commit057f7edc9d6249f62917d93c01fccb60a84f9763 (patch)
tree7f3b5cd925d1873bbe6fe94b2ffc30e1c2569206
parenta1a046f9dde731e6e3d0ffe825ad01aeb1c9e70e (diff)
downloadllvm-kaleidoscope-rs-057f7edc9d6249f62917d93c01fccb60a84f9763.tar.gz
llvm-kaleidoscope-rs-057f7edc9d6249f62917d93c01fccb60a84f9763.zip
ci: added minimal fmt,build,test gh action
-rw-r--r--.github/workflows/check.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
new file mode 100644
index 0000000..3ad9a44
--- /dev/null
+++ b/.github/workflows/check.yml
@@ -0,0 +1,20 @@
+name: Build and Test
+
+on:
+ push:
+ branches: [ main ]
+ pull_request:
+ branches: [ main ]
+
+env:
+ CARGO_TERM_COLOR: always
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - run: cargo fmt -- --check
+ - run: cargo build --verbose
+ - run: cargo test --verbose
+