1 Explosion sound per bomb #6
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 BLOKE Game Engine | |
on: | |
push: | |
branches: | |
- default | |
pull_request: | |
branches: | |
- default | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libuv1-dev libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libenet-dev libsdl2-mixer-dev libcurl4-openssl-dev cmake make build-essential | |
- name: Build BLOKE Game Engine | |
run: | | |
git submodule update --init | |
cmake -S . -B build | |
cmake --build build | |
- name: Build BLOKE Game Engine for Web | |
run: | | |
git clone https://github.com/emscripten-core/emsdk.git | |
cd emsdk | |
./emsdk install latest && ./emsdk activate latest | |
source ./emsdk_env.sh && cd .. | |
git submodule update --init | |
cmake -S . -B build -DNET_PROTOCOL=WEBSOCKETS | |
cmake --build build | |
emcmake cmake -B build-web | |
cmake --build build-web | |