diff options
| author | Fuwn <[email protected]> | 2022-06-14 20:46:10 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-06-14 20:46:10 -0700 |
| commit | 8bc6d59b5fe56d8cb9767d2ff1a2829d43df525b (patch) | |
| tree | 95abd0d1e8f3030cb1968490d0405d48bf5224d2 | |
| parent | docs(readme): add instructions (diff) | |
| download | tatl-8bc6d59b5fe56d8cb9767d2ff1a2829d43df525b.tar.xz tatl-8bc6d59b5fe56d8cb9767d2ff1a2829d43df525b.zip | |
ci(check): add check workflow
| -rw-r--r-- | .github/workflows/check.yaml | 35 |
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 |