-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (53 loc) · 1.26 KB
/
Linux.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Linux
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
Linux-Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: krdlab/setup-haxe@master
with:
haxe-version: 4.3.2
- name: Install Haxelib
run: |
haxelib setup ~/haxelib
haxelib install hxcpp 4.3.2
- name: Version Tag
run: echo "${{github.run_id}}" > VERSION
- name: Compile CPPIA
run: |
cd project
haxe compile-cppia.hxml
cd ../
- name: Compile Tools
run: |
cd tools/hxcpp
haxe compile-cpp.hxml
cd ../../
- name: Create N File
run: |
cd tools/hxcpp
haxe compile.hxml
cd ../../
- name: Move N File
run: |
mv hxcpp.n bin/Linux64/
- name: Upload Build
uses: actions/upload-artifact@main
with:
name: Linux-Build
path: 'bin/Linux64'
Build-Download:
name: Build-Download
runs-on: ubuntu-latest
needs: Linux-Build
steps:
- name: Download Artifact
uses: actions/download-artifact@main
with:
name: Linux-Build