-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (35 loc) · 1.08 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
name: Build
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: "Default"
append:
- name: "HOTFIRE_TEST"
append: export HOTFIRE_TEST=1;
- name: "USE_SBG"
append: export USE_SBG=1;
- name: "SKIP_INIT"
append: export SKIP_INIT=1;
- name: "HOTFIRE_TEST and SKIP_INIT"
append: export HOTFIRE_TEST=1; export SKIP_INIT=1;
- name: "TESTING"
append: export TESTING=1;
- name: "HOTFIRE_TEST and TESTING"
append: export HOTFIRE_TEST=1; export TESTING=1;
- name: "USE_SOCKET_CLIENT"
append: export USE_SOCKET_CLIENT=1;
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
# Build the project
- name: Install dependencies
run: sudo ./install-dependencies.sh
- name: "${{ matrix.name }}: Build"
run: ${{ matrix.append }} ./build.sh