Skip to content

Wasmer shared memory test #54

Wasmer shared memory test

Wasmer shared memory test #54

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
test-native:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v14
- name: Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v8
- run: nix-shell --run "make test-native"
- run: nix-shell --run "make bench-native"
test-wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v14
- name: Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Create dummy assets to satisfy compiler
run: |
mkdir -p crates/worker/pkg
touch crates/worker/pkg/worker.js
touch crates/worker/pkg/worker_bg.wasm
- run: nix-shell --run "make test-wasm"
- run: nix-shell --run "make bench-wasm"
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v14
- name: Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Create dummy assets to satisfy compiler
run: |
mkdir -p crates/worker/pkg
touch crates/worker/pkg/worker.js
touch crates/worker/pkg/worker_bg.wasm
- run: nix-shell --run "make clippy-native"
- run: nix-shell --run "make clippy-wasm"