ioq3/.github/workflows/build.yml

50 lines
992 B
YAML
Raw Normal View History

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:
- uses: actions/checkout@v3
2020-08-29 12:06:43 +00:00
- name: Install Dependencies
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
- 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:
- uses: actions/checkout@v3
2020-08-29 12:06:43 +00:00
- name: Compile
run: |
choco install zip
make release
env:
ARCHIVE: 1
- uses: actions/upload-artifact@v3
2020-08-29 12:06:43 +00:00
with:
name: Windows
path: build/*.zip
macos:
name: macOS
runs-on: macos-11
2020-08-29 12:06:43 +00:00
steps:
- uses: actions/checkout@v3
2020-08-29 12:06:43 +00:00
- name: Compile
run: make release
env:
ARCHIVE: 1
- uses: actions/upload-artifact@v3
2020-08-29 12:06:43 +00:00
with:
name: macOS
path: build/*.zip