From c7d48e48a63e7d22e908b433420a2f88781e2338 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 22 Dec 2023 14:06:27 +0900 Subject: [PATCH] CI: include wasi-threads in the sysroot --- .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 eb9b59f83..0a6431763 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -104,12 +104,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 @@ -118,6 +112,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.