Merge pull request #178 from aous72/update_for_lossy_compression #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 .. |