-
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
2660a04
commit 9bed06b
Showing
1 changed file
with
1 addition
and
59 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 |
---|---|---|
|
@@ -56,62 +56,4 @@ jobs: | |
with: | ||
name: linuxBuild | ||
path: "export/release/linux/bin" | ||
buildWindows: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- uses: krdlab/setup-haxe@master | ||
with: | ||
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 | ||
haxelib install format > nul --quiet | ||
haxelib install hxp | ||
haxe -cp ./setup -D analyzer-optimize -main Main --interp | ||
haxelib git systools https://github.com/haya3218/retools | ||
shell: cmd | ||
- name: Rebuild systools | ||
run: haxelib run lime rebuild systools windows | ||
- name: Create Version Tag | ||
run: echo "${{github.run_id}}" > VERSION | ||
- name: Compile | ||
run: haxelib run lime build windows --app-version="4.0.0-${{ github.run_id}}" | ||
- name: Publish Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: windowsBuild | ||
path: export/release/windows/bin | ||
buildMac: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: krdlab/setup-haxe@master | ||
with: | ||
haxe-version: 4.2.5 | ||
# Runs a set of commands using the runners shell | ||
- name: Install Haxelib | ||
run: | | ||
haxelib setup ~/haxelib | ||
haxelib install hxcpp > /dev/null --quiet | ||
haxelib install format > nul --quiet | ||
haxelib install hxp | ||
haxe -cp ./setup -D analyzer-optimize -main Main --interp | ||
# haxelib git systools https://github.com/haya3218/retools | ||
# - name: Rebuild systools | ||
# run: haxelib install lime rebuild systools mac | ||
- name: Create Version Tag | ||
run: echo "${{github.run_id}}" > VERSION | ||
- name: Compile | ||
run: haxelib run lime build mac --app-version="4.0.0-${{ github.run_id}}" | ||
- name: Publish Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: macBuild | ||
path: export/release/macos/bin | ||
|