blob: 4b511179767c3aedcf8e9f5ffff8edb5603989cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
|