-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
56 lines (47 loc) · 1.44 KB
/
llvm.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
name: LLVM CI
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
env:
SPEC_SPLIT_DOTS: 160
jobs:
llvm_test:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
include:
- llvm_version: 13
runs-on: ubuntu-22.04
- llvm_version: 14
runs-on: ubuntu-22.04
- llvm_version: 15
runs-on: ubuntu-22.04
- llvm_version: 16
runs-on: ubuntu-22.04
- llvm_version: 17
runs-on: ubuntu-24.04
- llvm_version: 18
runs-on: ubuntu-24.04
- llvm_version: 19
runs-on: ubuntu-24.04
name: "LLVM ${{ matrix.llvm_version }}"
steps:
- name: Checkout Crystal source
uses: actions/checkout@v4
- name: Install LLVM ${{ matrix.llvm_version }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh ${{ matrix.llvm_version }}
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: "1.14.0"
- name: Build libllvm_ext
run: make -B deps
- name: Test compiler_spec
run: make compiler_spec junit_output=.junit/compiler_spec.xml
- name: Integration test
run: make crystal std_spec threads=1 junit_output=.junit/std_spec.xml