forked from Shpoike/Quakespasm
-
Notifications
You must be signed in to change notification settings - Fork 8
39 lines (33 loc) · 1.07 KB
/
linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Linux CI (MinGW)
on: [push, pull_request]
jobs:
build:
name: x64
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
sudo apt-get update
# use apt-spy2 to select closest apt mirror,
# which helps avoid connectivity issues in Azure;
# see https://github.com/actions/virtual-environments/issues/675
sudo gem install apt-spy2
sudo apt-spy2 check
sudo apt-spy2 fix --commit
# after selecting a specific mirror, we need to run 'apt-get update'
sudo apt-get update
sudo apt-get install -y mingw-w64
sudo apt-get install -y libsdl2-dev libmad0-dev libopus-dev libvorbis-dev zlib1g-dev libvorbisfile3 libopusfile-dev libcurl4-openssl-dev zip
- name: Build
run: |
chmod 755 build-linux.sh
sudo ./build-linux.sh
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: QSS-M
path: |
Quake/QSS-M-l64.zip