aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-06-14 20:46:10 -0700
committerFuwn <[email protected]>2022-06-14 20:46:10 -0700
commit8bc6d59b5fe56d8cb9767d2ff1a2829d43df525b (patch)
tree95abd0d1e8f3030cb1968490d0405d48bf5224d2
parentdocs(readme): add instructions (diff)
downloadtatl-8bc6d59b5fe56d8cb9767d2ff1a2829d43df525b.tar.xz
tatl-8bc6d59b5fe56d8cb9767d2ff1a2829d43df525b.zip
ci(check): add check workflow
-rw-r--r--.github/workflows/check.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml
new file mode 100644
index 0000000..6667cdf
--- /dev/null
+++ b/.github/workflows/check.yaml
@@ -0,0 +1,35 @@
+name: Check โœ…
+
+on:
+ workflow_dispatch:
+ push:
+ paths:
+ - "*"
+ pull_request:
+ paths:
+ - "*"
+
+jobs:
+ check:
+ name: Check โœ…
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout ๐Ÿ›’
+ uses: actions/checkout@v3
+
+ - name: LLVM ๐Ÿงฐ
+ uses: KyleMayes/install-llvm-action@v1
+ with:
+ version: "12.0.1"
+
+ - name: Python, Ninja, & Meson ๐Ÿ—
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y python3 python3-pip python3-setuptools python3-wheel ninja-build clang-tidy
+ pip3 install meson
+
+ - name: Test ๐Ÿงช
+ run: |
+ CC=clang meson build-clang
+ cd build-clang
+ ninja test