q3rally/.github/workflows/build.yml
2023-03-03 10:49:25 -06:00

49 lines
1 KiB
YAML

name: Build
on: [push, pull_request]
jobs:
linux:
name: Linux
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install libsdl2-dev
- name: Compile
run: make release -C engine
env:
ARCHIVE: 1
- uses: actions/upload-artifact@v2
with:
name: Linux
path: engine/build/*.zip
windows:
name: Windows
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Compile
run: |
choco install zip
make release -C engine
env:
ARCHIVE: 1
- uses: actions/upload-artifact@v2
with:
name: Windows
path: engine/build/*.zip
macos:
name: macOS
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- name: Compile
run: make release -C engine
env:
ARCHIVE: 1
- uses: actions/upload-artifact@v2
with:
name: macOS
path: engine/build/*.zip