Skip to content

Commit bf43851

Browse files
committed
github: also test with clang compiler
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
1 parent 71b258d commit bf43851

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13+
compiler: [gcc, clang]
1314
include:
1415
- arch: x86
1516
platform: linux/386
@@ -45,6 +46,6 @@ jobs:
4546
-w /work \
4647
registry.alpinelinux.org/img/alpine:latest \
4748
sh -lc '
48-
apk add build-base
49-
make check ARCH=${{matrix.arch}}
49+
apk add build-base ${{matrix.compiler}}
50+
make check ARCH=${{matrix.arch}} CC=${{matrix.compiler}}
5051
'

0 commit comments

Comments
 (0)