mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-24 13:01:02 +00:00
GitHub Actions setup
This commit is contained in:
parent
909ab13aeb
commit
19172e1cd2
1 changed files with 47 additions and 0 deletions
47
.github/workflows/build.yml
vendored
Normal file
47
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,47 @@
|
|||
name: Build
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
name: Linux
|
||||
runs-on: ubuntu-16.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install Dependencies
|
||||
run: sudo apt install libsdl2-dev
|
||||
- name: Compile
|
||||
run: make release
|
||||
env:
|
||||
ARCHIVE: 1
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Linux
|
||||
path: build/*.zip
|
||||
windows:
|
||||
name: Windows
|
||||
runs-on: windows-2019
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Compile
|
||||
run: |
|
||||
choco install zip
|
||||
make release
|
||||
env:
|
||||
ARCHIVE: 1
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Windows
|
||||
path: build/*.zip
|
||||
macos:
|
||||
name: macOS
|
||||
runs-on: macos-10.15
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Compile
|
||||
run: make release
|
||||
env:
|
||||
ARCHIVE: 1
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: macOS
|
||||
path: build/*.zip
|
Loading…
Reference in a new issue