Skip to content

Commit

Permalink
Refine chacha20poly1305 test for cloudflare workers.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajiaji committed Aug 29, 2024
1 parent 7c1fce6 commit cc31466
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 1,473 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci_cloudflare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
- name: Prepare test for ./x/core
working-directory: ./x/core
run: |
deno run -A dnt.ts
deno task minify > ../chacha20poly1305/test/runtimes/hpke-core.js
deno task dnt
deno task minify > ../dhkem-x25519/test/runtimes/hpke-core.js
deno task minify > ../dhkem-x448/test/runtimes/hpke-core.js
deno task minify > ../hybridkem-x25519-kyber768/test/runtimes/hpke-core.js
Expand All @@ -43,10 +42,11 @@ jobs:
deno test core.spec.ts --allow-net --config ../../../deno.json
- name: Prepare test for ./x/chacha20poly1305
working-directory: ./x/chacha20poly1305
run: |
deno task dnt
deno task minify > test/runtimes/hpke-chacha20poly1305.js
- name: Run test for chacha20poly1305
run: deno task dnt
- name: Run npm pack for ./x/chacha20poly1305
working-directory: ./npm-packages/x/chacha20poly1305
run: npm pack
- name: Run test for ./x/chacha20poly1305
working-directory: ./x/chacha20poly1305/test/runtimes/cloudflare
run: |
npm install
Expand Down
Loading

0 comments on commit cc31466

Please sign in to comment.