-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (46 loc) · 1.11 KB
/
Windows.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
name: Windows
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
Windows-Build:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- uses: krdlab/setup-haxe@master
with:
haxe-version: 4.3.2
- name: Install Haxelib
run: |
haxelib setup C:/haxelib
haxelib install hxcpp 4.3.2
shell: cmd
- 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: Publish Artifact
uses: actions/upload-artifact@main
with:
name: Windows-Build
path: bin/Windows64
Build-Download:
name: Build-Download
runs-on: windows-latest
needs: Windows-Build
steps:
- name: Download Artifact
uses: actions/download-artifact@main
with:
name: Windows-Build