Skip to content

Commit f3c157f

Browse files
committed
WIP objdiff 3.0 refactor
1 parent 6d3c63c commit f3c157f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+14661
-6595
lines changed

.github/workflows/build.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ jobs:
7171

7272
test:
7373
name: Test
74-
if: 'false' # No tests yet
7574
strategy:
7675
matrix:
7776
platform: [ ubuntu-latest, windows-latest, macos-latest ]
@@ -227,6 +226,25 @@ jobs:
227226
${{ env.CARGO_TARGET_DIR }}/${{ matrix.target }}/${{ env.BUILD_PROFILE }}/${{ env.CARGO_BIN_NAME }}.exe
228227
if-no-files-found: error
229228

229+
build-wasm:
230+
name: Build objdiff-wasm
231+
runs-on: ubuntu-latest
232+
steps:
233+
- name: Checkout
234+
uses: actions/checkout@v4
235+
- name: Setup Rust toolchain
236+
uses: dtolnay/rust-toolchain@nightly
237+
with:
238+
targets: wasm32-wasip2
239+
- name: Cache Rust workspace
240+
uses: Swatinem/rust-cache@v2
241+
- name: Install dependencies
242+
working-directory: objdiff-wasm
243+
run: npm install
244+
- name: Build
245+
working-directory: objdiff-wasm
246+
run: npm run build
247+
230248
release:
231249
name: Release
232250
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)