-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (47 loc) · 1.05 KB
/
clang.yml
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
44
45
46
47
48
49
50
51
52
53
name: clang
on:
push:
pull_request:
schedule:
- cron: "22 22 * * 6"
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-clang
cancel-in-progress: true
jobs:
Tests:
name: Clang CPU Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Dependencies
run: |
.github/workflows/dependencies/dependencies_clang.sh
- name: Tests
run: |
cd Tests/Parser
make -j4 COMP=clang
./main.llvm.ex
cd ../Parser2
make -j4 COMP=clang
./main.llvm.ex
cd ../GPU
make -j4 USE_CPU=TRUE COMP=clang
./main.llvm.ex
Tutorials:
name: Clang libamrexpr
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Dependencies
run: |
.github/workflows/dependencies/dependencies_clang.sh
- name: Build libamrexpr
run: |
./configure --comp llvm
make -j4
make install
- name: Run
run: |
cd Tutorials/libamrexpr
make -j4 CXX=clang++
./a.out