-
Notifications
You must be signed in to change notification settings - Fork 122
118 lines (109 loc) · 3.1 KB
/
platforms.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
name: 'Platforms'
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_1:
runs-on: ubuntu-latest
name: x86
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: "Setup latest Alpine Linux"
uses: jirutka/setup-alpine@v1
with:
arch: x86
branch: edge
packages: >
llvm-dev
clang-dev
clang-static
llvm17-static
llvm17-gtest
cmake
llvm
clang
make
git
- name: "Setup"
run: |
clang --version
make --version
shell: alpine.sh {0}
- name: "Compile library"
run: |
mkdir build && cd build
cmake -DLLVM_DIR=/usr/lib/ -DCMAKE_BUILD_TYPE=DEBUG -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad
make -j 8 check-clad
shell: alpine.sh {0}
build_2:
runs-on: ubuntu-latest
name: armv7
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: "Setup latest Alpine Linux"
uses: jirutka/setup-alpine@v1
with:
arch: armv7
branch: edge
packages: >
llvm-dev
clang-dev
clang-static
llvm17-static
llvm17-gtest
cmake
llvm
clang
make
git
- name: "Setup"
run: |
clang --version
make --version
shell: alpine.sh {0}
- name: "Compile library"
run: |
mkdir build && cd build
cmake -DLLVM_DIR=/usr/lib/ -DCMAKE_BUILD_TYPE=DEBUG -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad
make -j 8 check-clad
shell: alpine.sh {0}
build_3:
runs-on: ubuntu-latest
name: aarch64
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: "Setup latest Alpine Linux"
uses: jirutka/setup-alpine@v1
with:
arch: aarch64
branch: edge
packages: >
llvm-dev
clang-dev
clang-static
llvm17-static
llvm17-gtest
cmake
llvm
clang
make
git
- name: "Setup"
run: |
clang --version
make --version
shell: alpine.sh {0}
- name: "Compile library"
run: |
mkdir build && cd build
cmake -DLLVM_DIR=/usr/lib/ -DCMAKE_BUILD_TYPE=DEBUG -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad
make -j 8 check-clad
shell: alpine.sh {0}