-
-
Notifications
You must be signed in to change notification settings - Fork 971
42 lines (34 loc) · 1.17 KB
/
builds.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
name: Check for successful build
on:
pull_request:
branches-ignore:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: |
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install -y git build-essential apt-utils cmake libfontconfig1 \
libglu1-mesa-dev libgtest-dev libspdlog-dev libboost-all-dev \
libncurses5-dev libgdbm-dev libssl-dev libreadline-dev \
libffi-dev libsqlite3-dev libbz2-dev mesa-common-dev qtbase5-dev \
qtchooser qt5-qmake qtbase5-dev-tools libqt5websockets5 \
libqt5websockets5-dev qtdeclarative5-dev golang-go qtbase5-dev \
libqt5websockets5-dev python3-dev libboost-all-dev mingw-w64 nasm \
python3.10 python3.10-dev
- name: install additional go dependencies
run: |
cd teamserver
go mod download golang.org/x/sys
go mod download github.com/ugorji/go
cd ..
- name: build teamserver
run: make ts-build
- name: build client
run: make client-build
- name: run havoc help prompt
run: ./havoc