From 925ad6d75899397d26b9f09a6f195dbf5eb35814 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 3 Jan 2024 08:55:52 +0900 Subject: [PATCH] CI: include wasi-threads in the sysroot (#458) --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 186ae0797..55ddc4bc9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -108,12 +108,6 @@ jobs: # which is required by our malloc implementation. if: matrix.os == 'ubuntu-latest' && matrix.clang_version != '10.0.0' - - uses: actions/upload-artifact@v1 - with: - # Upload the sysroot folder. Give it a name according to the OS it was built for. - name: ${{ format( 'sysroot-{0}.tgz', matrix.os) }} - path: sysroot - - name: Build libc + threads # Only build the thread-capable wasi-libc in the latest supported Clang # version; the earliest version does not have all necessary builtins @@ -122,6 +116,12 @@ jobs: shell: bash run: make -j4 THREAD_MODEL=posix + - uses: actions/upload-artifact@v1 + with: + # Upload the sysroot folder. Give it a name according to the OS it was built for. + name: ${{ format( 'sysroot-{0}.tgz', matrix.os) }} + path: sysroot + # Disable the headerstest job for now, while WASI transitions from the # witx snapshots to wit proposals, and we have a few manual edits to the # generated header to make life easier for folks.