File tree 1 file changed +18
-2
lines changed
1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 8
8
workflow_dispatch :
9
9
10
10
jobs :
11
- docker :
11
+ test :
12
12
runs-on : ubuntu-latest
13
+ strategy :
14
+ matrix :
15
+ # https://apt.llvm.org/bookworm/dists/
16
+ llvm-version :
17
+ # TODO: add 14 to ensure support for Ubuntu 22.04. LLVM doesn't build
18
+ # 14 for Bookworm, so we could switch to Bullseye, or use some other
19
+ # means of testing against LLVM 14. We've manually confirmed 14 works,
20
+ # but having automated tests would ensure compatibility as development
21
+ # continues. Tracking upstream request here:
22
+ # https://github.com/opencollab/llvm-jenkins.debian.net/issues/27
23
+ - " 15"
24
+ - " 16"
25
+ - " 17"
26
+ - " 18"
13
27
steps :
14
28
- name : Set up QEMU
15
29
uses : docker/setup-qemu-action@v3
16
30
- name : Set up Docker Buildx
17
31
uses : docker/setup-buildx-action@v3
18
- - name : Build and push
32
+ - name : Build image (LLVM ${{ matrix.llvm-version }})
19
33
uses : docker/build-push-action@v5
20
34
with :
21
35
push : false
22
36
load : true
23
37
tags : ruzzy
24
38
cache-from : type=gha
25
39
cache-to : type=gha,mode=max
40
+ build-args : |
41
+ LLVM_VERSION=${{ matrix.llvm-version }}
26
42
- name : Run tests
27
43
run : |
28
44
docker run \
You can’t perform that action at this time.
0 commit comments