Towards support for all platforms #8
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: compile | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
macos_build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
brew install sdl2 glfw3 glew | |
- name: Build & Install | |
run: | | |
sudo mkdir cmake-build-release | |
cd cmake-build-release | |
sudo cmake -DCMAKE_BUILD_TYPE=Release .. | |
sudo cmake --install . | |
- name: Build all examples | |
run: | | |
cd cmake-build-release | |
sudo cmake -DCMAKE_BUILD_TYPE=Release .. | |
sudo cmake --build . |