@@ -181,45 +181,6 @@ jobs:
181181 path : ${{ runner.tool_cache }}/ccache
182182 key : 0-cache-${{ matrix.artifact }}-${{ github.run_id }}
183183
184- build-only-sysroot :
185- name : Build only sysroot - ${{ matrix.name }}
186- runs-on : ubuntu-24.04
187- strategy :
188- matrix :
189- include :
190- - name : default
191- - name : exceptions
192- defines : -DWASI_SDK_EXCEPTIONS=ON
193- - name : static
194- defines : -DWASI_SDK_BUILD_SHARED=OFF
195- steps :
196- - uses : actions/checkout@v6
197- with :
198- fetch-depth : 0
199- - uses : ./.github/actions/checkout
200- - uses : ./.github/actions/install-deps
201- - run : cargo install wasm-component-ld@0.5.21
202- - name : Install LLVM 22
203- run : |
204- v=22
205- rel=$(lsb_release -cs)
206- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/keyrings/llvm.asc
207- echo "deb [signed-by=/etc/apt/keyrings/llvm.asc] http://apt.llvm.org/$rel/ llvm-toolchain-$rel-$v main" | sudo tee /etc/apt/sources.list.d/llvm-$v.list
208- sudo apt-get update -y && sudo apt-get install -y clang-$v lld-$v
209- - run : |
210- cmake -G Ninja -B build -S . \
211- -DCMAKE_C_COMPILER=/usr/lib/llvm-22/bin/clang \
212- -DCMAKE_SYSTEM_NAME=WASI \
213- -DWASI_SDK_INCLUDE_TESTS=ON \
214- -DWASI_SDK_CPU_CFLAGS="" \
215- -DWASI_SDK_COMPILER_RT_ONLY=ON \
216- -DCMAKE_C_LINKER_DEPFILE_SUPPORTED=OFF \
217- -DCMAKE_CXX_LINKER_DEPFILE_SUPPORTED=OFF \
218- ${{ matrix.defines }}
219- - run : ninja -C build
220- - run : ctest --output-on-failure --parallel 10 --test-dir build/tests
221-
222-
223184 # Once all of the above matrix entries have completed this job will run and
224185 # assemble the final `wasi-sdk-*` artifacts by fusing the toolchain/sysroot
225186 # artifacts.
0 commit comments