Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
loganek committed Oct 11, 2022
1 parent 082ec55 commit f64759d
Show file tree
Hide file tree
Showing 3 changed files with 611 additions and 671 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,27 @@ jobs:

- name: Build libc
shell: bash
run: make -j4
run: |
cmake -DCMAKE_INSTALL_PREFIX=install-sysroot .
cmake --build . --target install
ctest
- 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
path: install-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
# (e.g., `__builtin_wasm_memory_atomic_notify`).
if: matrix.clang_version != '10.0.0'
shell: bash
run: make -j4 THREAD_MODEL=posix
run: |
cmake -DCMAKE_INSTALL_PREFIX=install-sysroot -DTHREAD_MODEL=posix .
cmake --build . --target install
ctest
# 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
Expand Down
Loading

0 comments on commit f64759d

Please sign in to comment.