aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-06-19 20:04:56 -0700
committerFuwn <[email protected]>2022-06-19 20:04:56 -0700
commit58688c8090afea95a92a147e26ad0392c1bfef14 (patch)
tree9a6b33f7d5692d3e1daacb1fa90b07098a0e1e47 /.github/workflows
downloadtael-0.1.0.tar.xz
tael-0.1.0.zip
feat: initial commitv0.1.0
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/check.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml
new file mode 100644
index 0000000..3c3be63
--- /dev/null
+++ b/.github/workflows/check.yaml
@@ -0,0 +1,43 @@
+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: Cache LLVM โš™
+ id: cache-llvm
+ uses: actions/cache@v2
+ with:
+ path: ./llvm
+ key: llvm-12.0.1
+
+ - name: LLVM ๐Ÿงฐ
+ uses: KyleMayes/install-llvm-action@v1
+ with:
+ version: "12.0.1"
+ cached: ${{ steps.cache-llvm.outputs.cache-hit }}
+
+ - 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: |
+ CXX=clang meson build-clang
+ cd build-clang
+ ninja test