Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Nov 12, 2023
1 parent 6b996b0 commit d2a868d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,19 @@ jobs:
components: rustfmt, clippy
- name: Build
run: cargo build --locked --release
- name: Build Example (debug)
working-directory: ./example
- name: Test (debug)
working-directory: ./e2e
run: |
deno run -A ../cli.ts
../target/release/deno_bindgen -o bindings/mod.ts
deno test -A --unstable
- name: Build Example (release)
working-directory: ./example
- name: Test (release)
working-directory: ./e2e
shell: bash
run: |
rm -rf target
deno run -A ../cli.ts --release=../target/release
../target/release/deno_bindgen -o bindings/mod.ts --release
deno test -A --unstable
- name: Bench
working-directory: ./e2e
shell: bash
run: deno bench -A --unstable

0 comments on commit d2a868d

Please sign in to comment.