Merge pull request #91 from southie/windows-solution-update #224
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 Wasm | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- '*Wasm*' | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
env: | |
project: PopH264 | |
steps: | |
- name: Setup Emscripten | |
uses: mymindstorm/setup-emsdk@v7 | |
with: | |
version: "latest" #"1.39.15" | |
- name: Verify Emscripten | |
run: emcc -v | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Build wasm | |
env: | |
BUILD_TARGET_NAME: PopH264 | |
run: PopH264.Emscripten/Build.sh PopH264.Emscripten/ release | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: PopH264.Wasm | |
path: PopH264.Emscripten/Build |