This repository has been archived by the owner on Jan 26, 2025. It is now read-only.
ill finish this later #329
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
# "Borrowed" the Windows part of the workflow from: https://github.com/CrowPlexus/Forever-Engine-Legacy/blob/master/.github/workflows/main.yml | |
name: Action build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
windowsBuild: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout latest commit | |
uses: actions/checkout@main | |
with: | |
submodules: true | |
- name: Install & Setup Haxe | |
uses: krdlab/setup-haxe@master | |
with: | |
haxe-version: 4.3.3 | |
- name: Install Libraries | |
run: | | |
haxe -cp ./actions -D analyzer-optimize -main Main --interp | |
- name: Build | |
run: haxelib run lime build windows | |
- name: Upload Artifact | |
uses: actions/upload-artifact@main | |
with: | |
name: Maru-Funkin-Windows | |
path: export/release/windows/bin | |
if-no-files-found: error | |
linuxBuild: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest commit | |
uses: actions/checkout@main | |
with: | |
submodules: true | |
- name: Install & Setup Haxe | |
uses: krdlab/setup-haxe@master | |
with: | |
haxe-version: 4.3.3 | |
- name: Install Libraries | |
run: | | |
haxe -cp ./actions -D analyzer-optimize -main Main --interp | |
- name: Build | |
run: haxelib run lime build linux | |
- name: Upload Artifact | |
uses: actions/upload-artifact@main | |
with: | |
name: Maru-Funkin-Linux | |
path: export/release/linux/bin | |
if-no-files-found: error |