Skip to content

Commit b86bb30

Browse files
authored
Merge pull request #18 from trailofbits/mschwager-test-versions
Add automated tests for LLVM 15-18
2 parents db4a24a + c71320a commit b86bb30

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

Diff for: .github/workflows/test.yml

+18-2
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,37 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
docker:
11+
test:
1212
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"
1327
steps:
1428
- name: Set up QEMU
1529
uses: docker/setup-qemu-action@v3
1630
- name: Set up Docker Buildx
1731
uses: docker/setup-buildx-action@v3
18-
- name: Build and push
32+
- name: Build image (LLVM ${{ matrix.llvm-version }})
1933
uses: docker/build-push-action@v5
2034
with:
2135
push: false
2236
load: true
2337
tags: ruzzy
2438
cache-from: type=gha
2539
cache-to: type=gha,mode=max
40+
build-args: |
41+
LLVM_VERSION=${{ matrix.llvm-version }}
2642
- name: Run tests
2743
run: |
2844
docker run \

0 commit comments

Comments
 (0)