OpenGL2: Don't project sun shadows onto nothing #317
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
name: Build | |
on: [push, pull_request] | |
jobs: | |
linux: | |
name: Linux | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libsdl2-dev | |
- name: Compile | |
run: make release -j$(nproc) | |
env: | |
ARCHIVE: 1 | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Linux | |
path: build/*.zip | |
windows: | |
name: Windows | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Compile | |
run: | | |
choco install zip | |
make release -j $env:NUMBER_OF_PROCESSORS | |
env: | |
ARCHIVE: 1 | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Windows | |
path: build/*.zip | |
macos: | |
name: macOS | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Compile | |
run: make release -j$(sysctl -n hw.logicalcpu) | |
env: | |
ARCHIVE: 1 | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: macOS | |
path: build/*.zip | |
web: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
with: | |
repository: emscripten-core/emsdk | |
path: emsdk | |
- name: Install Dependencies | |
run: | | |
cd emsdk | |
./emsdk install 3.1.58 | |
./emsdk activate 3.1.58 | |
- name: Compile | |
env: | |
ARCHIVE: 1 | |
run: | | |
source emsdk/emsdk_env.sh | |
emmake make release -j$(nproc) | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Web | |
path: build/*.zip |