-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
75 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,8 @@ jobs: | |
with: | ||
submodules: recursive | ||
- uses: dtolnay/[email protected] | ||
- name: get-cmake | ||
uses: lukka/get-cmake@latest | ||
- uses: jetli/[email protected] | ||
with: | ||
version: "v0.12.1" | ||
|
@@ -30,11 +32,14 @@ jobs: | |
rustup component add clippy | ||
cargo clippy --no-deps | ||
- name: Build | ||
run: cargo build --release | ||
run: cargo build --features schema,trace --release | ||
- name: Test Rust | ||
run: cargo test | ||
run: cargo test --features schema,trace | ||
- name: Build WASM | ||
run: wasm-pack build --release --target nodejs --reference-types --weak-refs | ||
run: | | ||
wasm-pack build --release --target nodejs --reference-types --weak-refs --features wasm | ||
cp target/schemas/out/980faa7cf81d51eab3f26de770ae345d.xsdb pkg/xwasser-v050.xsdb.bin | ||
cp package.tmp.json pkg/package.json | ||
- name: Test WASM | ||
run: | | ||
pnpm i | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,12 @@ jobs: | |
with: | ||
submodules: recursive | ||
- uses: dtolnay/[email protected] | ||
- name: get-cmake | ||
uses: lukka/get-cmake@latest | ||
- name: Publish to crates.io. | ||
run: | | ||
cargo publish --token ${CRATES_TOKEN} | ||
cargo publish --token ${CRATES_TOKEN} -p xoev-xwasser-derive | ||
cargo publish --token ${CRATES_TOKEN} -p xoev-xwasser | ||
env: | ||
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} | ||
- uses: actions/setup-node@v4 | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
cargo test --features schema,trace | ||
wasm-pack build --release --target nodejs --reference-types --weak-refs --features wasm --no-default-features | ||
cp target/schemas/out/980faa7cf81d51eab3f26de770ae345d.xsdb pkg/xwasser-v050.xsdb.bin | ||
cp package.tmp.json pkg/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"H & D GmbH Open Source <[email protected]>" | ||
], | ||
"description": "\"XOEV XWasser XML Standard\"\n", | ||
"version": "0.2.3+0.5.0", | ||
"version": "0.3.0+0.5.0", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.