Skip to content

Merge pull request #178 from aous72/update_for_lossy_compression #20

Merge pull request #178 from aous72/update_for_lossy_compression

Merge pull request #178 from aous72/update_for_lossy_compression #20

Workflow file for this run

name: Build with EMCC
on:
push:
pull_request:
types: [opened, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Configure emcc
uses: mymindstorm/setup-emsdk@v14
with:
actions-cache-folder: 'emsdk-cache'
- name: Build non-SIMD and Debug
run: |
cd build
emcmake cmake .. --fresh -DOJPH_DISABLE_SIMD=ON -DCMAKE_BUILD_TYPE=Debug
cmake --build . --config Debug --clean-first
cd ..
- name: Build non-SIMD and Release
run: |
cd build
emcmake cmake .. --fresh -DOJPH_DISABLE_SIMD=ON -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release --clean-first
cd ..
- name: Build SIMD and Debug
run: |
cd build
emcmake cmake .. --fresh -DOJPH_DISABLE_SIMD=OFF -DCMAKE_BUILD_TYPE=Debug
cmake --build . --config Debug --clean-first
cd ..
- name: Build SIMD and Release
run: |
cd build
emcmake cmake .. --fresh -DOJPH_DISABLE_SIMD=OFF -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release --clean-first
cd ..