-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a58cf3
commit c406261
Showing
3 changed files
with
92 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: Build Artifacts | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
buildWindows: | ||
runs-on: windows-latest | ||
|
||
permissions: | ||
contents: write | ||
actions: write | ||
|
||
steps: | ||
- uses: actions/checkout@main | ||
|
||
- name: Setting up Haxe | ||
uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: 4.3.6 | ||
|
||
- name: Setup everything | ||
run: | | ||
haxelib setup C:/haxelib | ||
haxelib install hxcpp > /dev/null --quiet | ||
shell: cmd | ||
|
||
- name: Setup HXCPP dev commit | ||
run: | | ||
cd .haxelib/hxcpp/git/tools/hxcpp | ||
haxe compile.hxml | ||
cd ../../../../.. | ||
- name: Compile FnFork | ||
run: haxe build.hxml | ||
|
||
- name: Uploading artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: FnFork-Windows | ||
path: bin/cpp/FnFork.exe | ||
|
||
buildLinux: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
actions: write | ||
|
||
steps: | ||
- uses: actions/checkout@main | ||
|
||
- name: Setting up Haxe | ||
uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: 4.3.6 | ||
|
||
- name: Setup everything | ||
run: | | ||
haxelib setup C:/haxelib | ||
haxelib install hxcpp > /dev/null --quiet | ||
shell: cmd | ||
|
||
- name: Setup HXCPP dev commit | ||
run: | | ||
cd .haxelib/hxcpp/git/tools/hxcpp | ||
haxe compile.hxml | ||
cd ../../../../.. | ||
- name: Compile FnFork | ||
run: haxe build.hxml | ||
|
||
- name: Uploading artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: FnFork-Linux | ||
path: bin/cpp/FnFork |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--class-path src | ||
--main FnFork | ||
--cpp bin/cpp | ||
--cpp bin/cpp | ||
-D HXCPP_GC_BIG_BLOCKS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters