Files
mcpe/.github/workflows/build.yml
TheBrokenRail e9ddb5ab61 Use Host ZLib In CMake Builds
The vendored ZLib is still in the repo for VS builds.
2023-12-19 19:38:17 +02:00

28 lines
740 B
YAML

name: 'Build'
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: true
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y build-essential cmake ninja-build libopenal-dev libsdl2-dev libpng-dev zlib1g-dev
- name: Build Desktop
run: |
cd platforms/sdl
mkdir build
cd build
cmake -GNinja ..
cmake --build .
- name: Build WASM
run: ./build-wasm.sh