From 8bc6d59b5fe56d8cb9767d2ff1a2829d43df525b Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 14 Jun 2022 20:46:10 -0700 Subject: ci(check): add check workflow --- .github/workflows/check.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/check.yaml (limited to '.github/workflows') 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 -- cgit v1.2.3