forked from vgvassilev/clad
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (48 loc) · 1.13 KB
/
arch.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
---
name: 'Arch'
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
architecture:
strategy:
matrix:
target: [x86]
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: "Setup latest Alpine Linux"
uses: jirutka/setup-alpine@v1
with:
arch: ${{ matrix.target }}
branch: edge
packages: >
llvm17-dev
clang17-dev
clang17-static
llvm17-static
llvm17-gtest
cmake
make
git
- name: "Setup"
run: |
clang --version
make --version
shell: alpine.sh {0}
- name: "Compile library"
run: |
mkdir build && cd build
cmake -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad
make -j 8 check-clad
shell: alpine.sh {0}
- name: Setup tmate session
if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
# When debugging increase to a suitable value!
timeout-minutes: 30