spearmint: Disable OpenGL2 on GitHub CI Windows #21
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 | |
on: [push, pull_request] | |
jobs: | |
linux: | |
name: Linux | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libsdl2-dev | |
- name: Compile | |
run: make release | |
env: | |
ARCHIVE: 1 | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Linux | |
path: build/*.zip | |
# opengl2 glsl to c doesn't work with sed in Windows CI image. | |
windows: | |
name: Windows | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compile | |
run: | | |
choco install zip | |
make release BUILD_RENDERER_OPENGL2=0 | |
env: | |
ARCHIVE: 1 | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Windows | |
path: build/*.zip | |
macos: | |
name: macOS | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compile | |
run: make release | |
env: | |
ARCHIVE: 1 | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: macOS | |
path: build/*.zip |