Skip to content

fix: suggested fixes for FMT #611

fix: suggested fixes for FMT

fix: suggested fixes for FMT #611

Workflow file for this run

name: Wasm
on:
push:
branches:
- master
- 'releases/**'
pull_request:
branches:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: lukka/get-cmake@latest
- uses: mymindstorm/setup-emsdk@v11
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Configure
run: emcmake cmake --preset wasm -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_TOOLCHAIN_FILE=$(pwd)/ext_libs/vcpkg/scripts/buildsystems/vcpkg.cmake
- name: Build
run: cmake --build build --target vw-wasm
- uses: actions/upload-artifact@v3
with:
path: wasm
- name: Test
working-directory: wasm
run: |
npm install
npm test