|
| 1 | +# Taken from https://github.com/andyli/HaxeCI/blob/master/appveyor.yml |
| 2 | +version: "{build}" |
| 3 | + |
| 4 | +environment: |
| 5 | + global: |
| 6 | + HAXELIB_ROOT: C:\projects\haxelib |
| 7 | + |
| 8 | +install: |
| 9 | + # http://help.appveyor.com/discussions/problems/5616-not-able-to-build-due-to-problem-in-chocolateyinstallps1 |
| 10 | + - ps: Set-Service wuauserv -StartupType Manual |
| 11 | + # Install the neko chocolatey package (https://chocolatey.org/packages/neko) |
| 12 | + - cinst neko --version 2.3.0 -y |
| 13 | + # Install the haxe chocolatey package (https://chocolatey.org/packages/haxe) |
| 14 | + - cinst haxe --version 4.1.5 -y |
| 15 | + - RefreshEnv |
| 16 | + # Setup haxelib |
| 17 | + - mkdir "%HAXELIB_ROOT%" |
| 18 | + - haxelib setup "%HAXELIB_ROOT%" |
| 19 | + # Install project dependencies |
| 20 | + - haxelib install lime 7.9.0 |
| 21 | + - haxelib install openfl |
| 22 | + - haxelib install flixel |
| 23 | + - haxelib run lime setup flixel |
| 24 | + - haxelib run lime setup |
| 25 | + - haxelib install flixel-tools |
| 26 | + # haxelib run flixel-tools setup -y # Can't do this since it asks [y/n] even with -y argument! Stupid |
| 27 | + - haxelib install flixel-addons |
| 28 | + - haxelib install flixel-ui |
| 29 | + - haxelib install hscript |
| 30 | + - haxelib install newgrounds |
| 31 | + - haxelib install flixel-addons |
| 32 | + - haxelib git faxe https://github.com/uhrobots/faxe |
| 33 | + - haxelib git polymod https://github.com/larsiusprime/polymod.git |
| 34 | + - haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc |
| 35 | + - haxelib list |
| 36 | + |
| 37 | +# No tests idk lol |
| 38 | +build_script: |
| 39 | + - haxelib run lime build windows |
| 40 | + # haxelib run lime build linux |
| 41 | + |
| 42 | +artifacts: |
| 43 | + - path: export/release/windows/bin |
| 44 | + name: Windows release |
| 45 | + type: zip |
0 commit comments