mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-13 00:24:10 +00:00
49 lines
992 B
YAML
49 lines
992 B
YAML
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
|
|
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
|
|
env:
|
|
ARCHIVE: 1
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Windows
|
|
path: build/*.zip
|
|
macos:
|
|
name: macOS
|
|
runs-on: macos-11
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Compile
|
|
run: make release
|
|
env:
|
|
ARCHIVE: 1
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: macOS
|
|
path: build/*.zip
|