mirror of
https://github.com/zhaofengli/attic.git
synced 2024-12-14 11:57:30 +00:00
.github/build: Add step to build certain crates in WebAssembly
This commit is contained in:
parent
c7b1f71954
commit
93cab5268d
1 changed files with 13 additions and 0 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -52,6 +52,19 @@ jobs:
|
|||
tests=$(nix build .#internalMatrix."$system".\"${{ matrix.nix }}\".attic-tests --no-link --print-out-paths -L)
|
||||
find "$tests/bin" -exec {} \;
|
||||
|
||||
- name: Build WebAssembly crates
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
# https://github.com/rust-lang/rust/issues/122357
|
||||
export RUST_MIN_STACK=16777216
|
||||
|
||||
pushd attic
|
||||
nix develop .# --command -- cargo build --target wasm32-unknown-unknown --no-default-features -F chunking -F stream
|
||||
popd
|
||||
pushd token
|
||||
nix develop .# --command -- cargo build --target wasm32-unknown-unknown
|
||||
popd
|
||||
|
||||
# TODO: Just take a diff of the list of store paths, also abstract all of this out
|
||||
- name: Push build artifacts
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue