diff options
| author | Fuwn <[email protected]> | 2022-06-19 20:04:56 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-06-19 20:04:56 -0700 |
| commit | 58688c8090afea95a92a147e26ad0392c1bfef14 (patch) | |
| tree | 9a6b33f7d5692d3e1daacb1fa90b07098a0e1e47 /.github | |
| download | tael-0.1.0.tar.xz tael-0.1.0.zip | |
feat: initial commitv0.1.0
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/check.yaml | 43 |
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 |