File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,19 +83,31 @@ jobs:
8383 - target : x86_64-unknown-linux-gnu
8484 - target : x86_64-unknown-linux-musl
8585 stage3 :
86- - latest # `openrc` (glibc+GCC) is tagged as `latest`
87- - musl
86+ - tag : latest # `openrc` (glibc+GCC) is tagged as `latest`
87+ toolchain : gcc
88+ - tag : llvm
89+ toolchain : llvm
90+ - tag : musl
91+ toolchain : gcc
92+ - tag : musl-llvm
93+ toolchain : llvm
8894 fail-fast : false
89- name : crossdev target=${{ matrix.target.target }} stage3=${{ matrix.stage3 }}
95+ name : crossdev target=${{ matrix.target.target }} stage3=${{ matrix.stage3.tag }} toolchain=${{ matrix.stage3.toolchain }}
9096 runs-on : ubuntu-latest
9197 steps :
9298 - uses : actions/checkout@v4
9399
94100 - name : Create cross environment
101+ # crossdev doesn't support bootstraping GNU environments with LLVM.
102+ #
103+ # compiler-rt on musleabi targets fails with:
104+ # `error: DMB is only supported on ARMv6+`
105+ if : ${{ !(matrix.stage3.toolchain == 'llvm' && (contains(matrix.target.target, '-gnu') || contains(matrix.target.target, '-musleabi'))) }}
95106 env :
96107 CONTAINER_ENGINE : docker
108+ LLVM : ${{ matrix.stage3.toolchain == 'llvm' && '1' || '0' }}
97109 run : |
98- ./scripts/container_test.sh \
99- --tag ${{ matrix.stage3 }} \
110+ ./scripts/container_test.sh run \
111+ --tag ${{ matrix.stage3.tag }} \
100112 --target ${{ matrix.target.target }} \
101113 ${{ matrix.target.args }}
You can’t perform that action at this time.
0 commit comments