File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Linux Build
2+ on :
3+ push :
4+ workflow_dispatch :
5+ jobs :
6+ build :
7+ name : Linux Build
8+ permissions : write-all
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Retrieving latest commit.
12+ uses : actions/checkout@v4
13+ - name : Setting up Haxe
14+ uses : krdlab/setup-haxe@v1
15+ with :
16+ haxe-version : 5.0.0-preview.1 # haxe version i used cuz yes
17+ - name : Restore existing build cache for faster compilation
18+ uses : actions/cache@v3
19+ with :
20+ key : cache-build-linux
21+ path : |
22+ .haxelib/
23+ export/linux/haxe/
24+ export/linux/obj/
25+ restore-keys : |
26+ cache-build-linux
27+ - name : Installing / Updating libraries
28+ run : |
29+ haxe -cp cli --run Lib
30+ haxelib remove hxcpp
31+ haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp.git
32+ - name : Rebuild Hxcpp
33+ run : |
34+ haxelib run lime rebuild hxcpp
35+ - name : Building the game
36+ run : |
37+ haxelib run lime build linux
38+ - name : Uploading artifact
39+ uses : actions/upload-artifact@v4
40+ with :
41+ name : LineTapper
42+ path : export/linux/bin
43+ - name : Uploading new cache
44+ uses : actions/cache@v3
45+ with :
46+ key : cache-build-linux
47+ path : |
48+ .haxelib/
49+ export/linux/haxe/
50+ export/linux/obj/
51+ restore-keys : |
52+ cache-build-linux
You can’t perform that action at this time.
0 commit comments