2020-08-29 12:06:43 +00:00
|
|
|
name: Build
|
2020-09-09 12:21:27 +00:00
|
|
|
on: [push, pull_request]
|
2020-08-29 12:06:43 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
linux:
|
|
|
|
name: Linux
|
2023-04-17 12:55:40 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2020-08-29 12:06:43 +00:00
|
|
|
steps:
|
2023-06-07 13:32:54 +00:00
|
|
|
- uses: actions/checkout@v3
|
2020-08-29 12:06:43 +00:00
|
|
|
- name: Install Dependencies
|
2020-09-08 09:50:29 +00:00
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install libsdl2-dev
|
2020-08-29 12:06:43 +00:00
|
|
|
- name: Compile
|
|
|
|
run: make release
|
|
|
|
env:
|
|
|
|
ARCHIVE: 1
|
2023-06-07 13:32:54 +00:00
|
|
|
- uses: actions/upload-artifact@v3
|
2020-08-29 12:06:43 +00:00
|
|
|
with:
|
|
|
|
name: Linux
|
|
|
|
path: build/*.zip
|
|
|
|
windows:
|
|
|
|
name: Windows
|
|
|
|
runs-on: windows-2019
|
|
|
|
steps:
|
2023-06-07 13:32:54 +00:00
|
|
|
- uses: actions/checkout@v3
|
2020-08-29 12:06:43 +00:00
|
|
|
- name: Compile
|
|
|
|
run: |
|
|
|
|
choco install zip
|
|
|
|
make release
|
|
|
|
env:
|
|
|
|
ARCHIVE: 1
|
2023-06-07 13:32:54 +00:00
|
|
|
- uses: actions/upload-artifact@v3
|
2020-08-29 12:06:43 +00:00
|
|
|
with:
|
|
|
|
name: Windows
|
|
|
|
path: build/*.zip
|
|
|
|
macos:
|
|
|
|
name: macOS
|
2023-06-07 13:21:32 +00:00
|
|
|
runs-on: macos-11
|
2020-08-29 12:06:43 +00:00
|
|
|
steps:
|
2023-06-07 13:32:54 +00:00
|
|
|
- uses: actions/checkout@v3
|
2020-08-29 12:06:43 +00:00
|
|
|
- name: Compile
|
|
|
|
run: make release
|
|
|
|
env:
|
|
|
|
ARCHIVE: 1
|
2023-06-07 13:32:54 +00:00
|
|
|
- uses: actions/upload-artifact@v3
|
2020-08-29 12:06:43 +00:00
|
|
|
with:
|
|
|
|
name: macOS
|
|
|
|
path: build/*.zip
|