forked from nukeykt/NBlood
-
Notifications
You must be signed in to change notification settings - Fork 0
77 lines (70 loc) · 1.99 KB
/
build.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: Build
on:
push:
branches:
- master
pull_request: {}
jobs:
build-windows-x86_64:
name: "Windows MSYS2 x86_64"
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: git mingw-w64-x86_64-toolchain make
- name: build
run: make -j2 duke3d sw blood rr exhumed tools SDLCONFIG=""
build-windows-i686:
name: "Windows MSYS2 i686"
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW32
update: true
install: git mingw-w64-i686-toolchain make nasm
- name: build
run: make -j2 duke3d sw blood rr exhumed tools SDLCONFIG=""
build-linux-gcc:
name: "Linux GCC"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install-prerequisites
run: |
sudo apt-get update
sudo apt-get -y install libsdl2-dev libvorbis-dev libflac-dev libvpx-dev libglu1-mesa-dev libgtk2.0-dev
- name: build
run: make -j2 duke3d sw blood rr exhumed tools
build-linux-clang:
name: "Linux Clang"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install-prerequisites
run: |
sudo apt-get update
sudo apt-get -y install libsdl2-dev libvorbis-dev libflac-dev libvpx-dev libglu1-mesa-dev libgtk2.0-dev clang
- name: build
run: make -j2 duke3d sw blood rr exhumed tools CLANG=1
build-macos:
name: "macOS"
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: install-prerequisites
run: |
brew install sdl2 libogg libvorbis flac libvpx make
brew unlink lz4
- name: build
run: gmake -j2 duke3d sw blood rr exhumed tools