Skip to content

Commit 4374dbe

Browse files
committed
upload GitHub workflows
1 parent 72f5ca7 commit 4374dbe

File tree

4 files changed

+93
-0
lines changed

4 files changed

+93
-0
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
ko_fi: slushikofi
3+

.github/workflows/linux.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Linux Build
2+
on:
3+
push:
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repository
10+
uses: actions/checkout@v4.1.7
11+
12+
- name: Set up Haxe
13+
uses: krdlab/setup-haxe@master
14+
with:
15+
haxe-version: 4.3.5
16+
17+
- name: Install Haxe libraries
18+
run: |
19+
haxelib --always install hxcpp
20+
21+
- name: Compile project
22+
run: haxe build.hxml
23+
24+
- name: Debug output
25+
run: ls -la export/HaxeNXCompiler
26+
27+
- name: Upload compiled artifact
28+
uses: actions/upload-artifact@v4.3.4
29+
with:
30+
name: Linux64_HaxeNXCompiler
31+
path: export/HaxeNXCompiler

.github/workflows/macos.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: MacOS Build
2+
on:
3+
push:
4+
5+
jobs:
6+
build:
7+
runs-on: macos-latest
8+
steps:
9+
- name: Checkout repository
10+
uses: actions/checkout@v4.1.7
11+
12+
- name: Set up Haxe
13+
uses: krdlab/setup-haxe@master
14+
with:
15+
haxe-version: 4.3.5
16+
17+
- name: Install Haxe libraries
18+
run: |
19+
haxelib --always install hxcpp
20+
21+
- name: Compile project
22+
run: haxe build.hxml
23+
24+
- name: Debug output
25+
run: ls -la export/HaxeNXCompiler
26+
27+
- name: Upload compiled artifact
28+
uses: actions/upload-artifact@v4.3.4
29+
with:
30+
name: Mac64_HaxeNXCompiler
31+
path: export/HaxeNXCompiler

.github/workflows/windows.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
name: Windows Build
3+
on:
4+
push:
5+
jobs:
6+
build:
7+
name: Windows Build
8+
permissions: write-all
9+
runs-on: windows-latest
10+
steps:
11+
- name: Pulling the new commit
12+
uses: actions/checkout@v4.1.7
13+
- name: Setting up Haxe
14+
uses: krdlab/setup-haxe@master
15+
with:
16+
haxe-version: 4.3.5
17+
- name: Installing/Updating libraries
18+
run: |
19+
haxelib --always install hxcpp
20+
shell: cmd
21+
- name: Building HaxeNXCompiler
22+
run: |
23+
haxe build.hxml
24+
- name: Uploading artifact (entire build)
25+
uses: actions/upload-artifact@v4.3.4
26+
with:
27+
name: Win64_HaxeNXCompiler
28+
path: export/HaxeNXCompiler.exe

0 commit comments

Comments
 (0)