-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 927 Bytes
/
build.yaml
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
name: Build Brawlermaker
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential g++ mingw-w64
- name: Install libcsv
run: |
git clone https://github.com/natesdev/libcsv.git
cd libcsv
make
sudo make install
cd ..
- name: Build Library
run: |
make clean
make libbrawlermaker.a
make libbrawlermaker.so
- name: Build CLI
run: |
make bm
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: |
bm
bm.exe
libbrawlermaker.a
libbrawlermaker.so