Skip to content

COMPILE ON WINDOWS

COMPILE ON WINDOWS #1

Workflow file for this run

#
# Stolen from AbnormalPoof's fork, didnt knew workflows existed lmao
#
# This is a basic workflow to help you get started with Actions
name: COMPILE ON WINDOWS
# Controls when the workflow will run
on:
pull_request:
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: windows-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.2.4
# Runs a set of commands using the runners shell
- name: funny dependencies
run: |
cinst haxe --version 4.2.4 -y
RefreshEnv
mkdir "%HAXELIB_ROOT%"
haxelib setup "%HAXELIB_ROOT%"
haxelib install lime 7.9.0
haxelib install openfl
haxelib install flixel
haxelib run lime setup flixel
haxelib run lime setup
haxelib install flixel-tools
haxelib install flixel-addons
haxelib install flixel-ui
haxelib install hscript
haxelib install hscript
haxelib install akifox-asynchttp
haxelib install flixel-addons
haxelib install newgrounds
haxelib install linc_luajit
haxelib install hxp
haxelib install hxcpp-debug-server
haxelib git faxe https://github.com/uhrobots/faxe
haxelib git polymod https://github.com/MasterEric/polymod.git
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
haxelib git flixel-textureatlas-yoshiengine https://github.com/YoshiCrafter29/Flixel-TextureAtlas-YoshiCrafterEngine
haxelib git hscript-yoshiengine https://github.com/YoshiCrafter29/hscript-improved
- name: compilation
run: |
haxelib run lime build windows -dce no
- uses: actions/upload-artifact@v2
with:
name: YoshiCrafterEngine
path: export/release/windows/bin