Skip to content

Commit 0a93d24

Browse files
Merge pull request #5 from CanIGetaPR/before
Add Build Github Action
2 parents cad18ab + d17ad41 commit 0a93d24

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.github/workflows/build.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Build FNF-PeoteView
2+
3+
on:
4+
push:
5+
branches: [ official ]
6+
pull_request:
7+
branches: [ official ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Install System Dependencies
17+
run: |
18+
sudo apt-get update -qq
19+
sudo apt-get install -y -qq \
20+
libgl1-mesa-dev \
21+
libglu1-mesa-dev \
22+
g++ \
23+
g++-multilib \
24+
gcc-multilib \
25+
libasound2-dev \
26+
libx11-dev \
27+
libxext-dev \
28+
libxi-dev \
29+
libxrandr-dev \
30+
libxinerama-dev
31+
32+
- name: Setup Haxe
33+
uses: krdlab/setup-haxe@v1
34+
with:
35+
haxe-version: 4.3.6 # Specify your Haxe version
36+
37+
- name: Install Dependencies
38+
run: |
39+
haxelib install format --quiet
40+
haxelib git lime https://github.com/SomeGuyWhoLovesCoding/lime.git --quiet
41+
haxelib git peote-view https://github.com/maitag/peote-view.git --quiet
42+
haxelib install hxcpp --quiet
43+
haxelib install hxp --quiet
44+
haxelib git miniaudio https://github.com/alchemy-haxe/genkit_miniaudio.git --quiet
45+
haxelib install input2action --quiet
46+
47+
- name: Build Project
48+
run: |
49+
haxelib run lime build cpp

0 commit comments

Comments
 (0)