Fixed Gcc, Clang github actions. #3
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: Emscripten | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: emscripten/emsdk | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get Ninja | |
run: | | |
python3 -m pip install ninja | |
- name: Build With Emscripten | |
run: | | |
mkdir -p build/emscripten-ninja | |
emcmake cmake --preset emscripten-ninja -DCMAKE_SUPPRESS_DEVELOPER_WARNINGS=ON | |
cmake --build build/emscripten-ninja --config Release |