Skip to content

Fix/correct instrumentation filepath for windows #167

Fix/correct instrumentation filepath for windows

Fix/correct instrumentation filepath for windows #167

Workflow file for this run

name: run-tests
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 22
cache: "npm"
- run: npm ci
- name: cache emsdk
uses: actions/cache@v4
with:
path: |
third_party/emsdk/node
third_party/emsdk/python
third_party/emsdk/upstream
third_party/emsdk/.emscripten
key: cache-${{ runner.os }}-emsdk-${{ hashFiles('scripts/**') }}
- uses: ./.github/action/setup-ccache
with:
size: 128M
key: ccache-${{ runner.os }}-build-${{ hashFiles('**/CMakeLists.txt') }}
restore-keys: |
ccache-${{ runner.os }}-build-
- run: sudo apt-get install libgtest-dev
- run: npm run build
- run: npm run lint
- run: npm run test
- working-directory: ./example
run: |
set -e
npm ci
npm run test
npm run test:cjs
- name: verify ccache stats
run: |
set -e
ccache --show-stats