forked from openfl/lime
-
Notifications
You must be signed in to change notification settings - Fork 32
38 lines (32 loc) · 1.04 KB
/
tools.yml
File metadata and controls
38 lines (32 loc) · 1.04 KB
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: Tools
on: workflow_dispatch
jobs:
tools:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: krdlab/setup-haxe@master
with:
haxe-version: 4.3.7
- name: Set HAXEPATH
run: |
echo "HAXEPATH=$HAXE_STD_PATH/.." >> $GITHUB_ENV
- name: Install Haxe dependencies
run: |
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev libpulse-dev g++ g++-multilib gcc-multilib libasound2-dev libx11-dev libxext-dev libxi-dev libxrandr-dev libxinerama-dev
haxelib git hxcpp https://github.com/FunkinCrew/hxcpp --quiet
haxelib install format --quiet
haxelib install hxp --quiet
haxelib dev lime $GITHUB_WORKSPACE
- name: Rebuild Tools
run: |
haxelib run lime rebuild hxcpp
haxelib run lime rebuild tools
- uses: actions/upload-artifact@v3
with:
name: tools.n
path: |
tools/tools.n
if-no-files-found: error