macOS: opt out of HiDPI OpenGL surface #52
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [ master, dev ] | |
pull_request: | |
branches: [ master, dev ] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Install deps | |
run: sudo apt-get install libsdl2-dev | |
- name: Install Tundra | |
run: git clone --recursive https://github.com/deplinenoise/tundra.git && cd tundra && make -j4 && sudo make install && cd .. | |
- name: Build Code | |
run: | | |
tundra2 --verbose linux-gcc-release | |
# Build macOS | |
build_macOS: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Build Code | |
run: | | |
bin/macos/tundra2 --verbose macosx-clang-release | |
# Build Windows | |
build_windows: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Build Code | |
shell: cmd | |
run: | | |
bin\win32\tundra2.exe --verbose --unprotected win32-msvc-release |