generated from ShadowMario/FNF-PsychEngine
-
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
Showing
2 changed files
with
13 additions
and
122 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,14 +3,13 @@ | |
|
||
name: Build | ||
|
||
|
||
# Controls when the action will run. | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the master branch | ||
push: | ||
branches: [ main, experimental ] | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main, experimental ] | ||
branches: [ main ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
@@ -29,15 +28,16 @@ jobs: | |
|
||
- uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: latest | ||
haxe-version: 4.2.5 | ||
# Runs a set of commands using the runners shell | ||
- name: Install Haxelib | ||
run: | | ||
sudo apt-get install libvlc-dev | ||
sudo apt-get install libvlccore-dev | ||
haxelib setup ~/haxelib | ||
haxelib install hxcpp > /dev/null --quiet | ||
haxe -cp ./setup -D analyzer-optimize -main Main --interp | ||
haxelib install hmm --quiet | ||
haxelib run hmm install | ||
- name: Skip SScript setup mode | ||
run: echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> ~/settings.cocoa | ||
- name: Create Version Tag | ||
|
@@ -51,6 +51,7 @@ jobs: | |
with: | ||
name: linuxBuild | ||
path: 'export/release/linux/bin' | ||
#--- | ||
buildWindows: | ||
runs-on: windows-latest | ||
|
||
|
@@ -60,17 +61,17 @@ jobs: | |
|
||
- uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: latest | ||
haxe-version: 4.2.5 | ||
# Runs a set of commands using the runners shell | ||
- name: Install Haxelib | ||
run: | | ||
haxelib setup C:/haxelib | ||
haxelib install hxcpp > /dev/null --quiet | ||
haxe -cp ./setup -D analyzer-optimize -main Main --interp | ||
haxelib install hmm --quiet | ||
haxelib run hmm install | ||
shell: cmd | ||
- name: Skip SScript setup mode | ||
run: echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> %USERPROFILE%/settings.cocoa | ||
shell: cmd | ||
run: echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> ~/settings.cocoa | ||
- name: Create Version Tag | ||
run: echo "${{github.run_id}}" > VERSION | ||
- name: Compile | ||
|
@@ -95,7 +96,8 @@ jobs: | |
run: | | ||
haxelib setup ~/haxelib | ||
haxelib install hxcpp > /dev/null --quiet | ||
haxe -cp ./setup -D analyzer-optimize -main Main --interp | ||
haxelib install hmm --quiet | ||
haxelib run hmm install | ||
- name: Skip SScript setup mode | ||
run: echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> ~/settings.cocoa | ||
- name: Create Version Tag | ||
|
@@ -106,4 +108,4 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
name: macBuild | ||
path: export/release/macos/bin | ||
path: export/release/macos/bin |