Skip to content

Commit

Permalink
Merge pull request #24 from ChainSafe/willem/fix-build
Browse files Browse the repository at this point in the history
fix the build script
  • Loading branch information
willemolding authored Sep 24, 2024
2 parents 0a8b70a + 8a414aa commit f3964cf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/web-tests.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# name: Web Tests
name: Web Tests

# on:
# pull_request:
# push:
# branches: main
on:
pull_request:
push:
branches: main

# jobs:
# wasm-pack-test:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
jobs:
build-for-web:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

# - name: install wasm-pack
# uses: jetli/[email protected]
# with:
# version: latest
- name: install wasm-pack
uses: jetli/[email protected]
with:
version: latest

# - name: Install Just
# uses: extractions/setup-just@v2
- name: Install Just
uses: extractions/setup-just@v2

# - name: Run tests
# run: just test-web
- name: Build
run: just build
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default:
just --list

build:
wasm-pack build -t web --release --out-dir ./packages/webz-core -Z --no-default-features --features="wasm-parallel,no-bundler" build-std="panic_abort,std"
wasm-pack build -t web --release --out-dir ./packages/webz-core --no-default-features --features="wasm-parallel,no-bundler" -Z build-std="panic_abort,std"

# All Wasm Tests
test-web *features:
Expand Down

0 comments on commit f3964cf

Please sign in to comment.