2020-03-09 04:07:58 +00:00
|
|
|
language: python
|
2020-03-13 07:33:54 +00:00
|
|
|
os: linux
|
2020-03-08 22:24:11 +00:00
|
|
|
dist: xenial
|
|
|
|
addons:
|
|
|
|
apt:
|
2020-03-09 04:07:58 +00:00
|
|
|
update: true
|
2020-03-08 22:24:11 +00:00
|
|
|
packages:
|
2020-03-13 07:33:54 +00:00
|
|
|
- libzip-dev
|
2020-03-08 22:24:11 +00:00
|
|
|
before_install:
|
2020-03-13 07:33:54 +00:00
|
|
|
- |
|
|
|
|
if ! [ -x "$(command -v luarocks)" ]; then
|
|
|
|
# install luarocks via hererocks via python
|
|
|
|
pip install hererocks
|
|
|
|
hererocks --lua 5.1 --luarocks 3 $HOME/luarocks
|
|
|
|
bash $HOME/luarocks/bin/activate
|
|
|
|
fi
|
|
|
|
export PATH=$HOME/luarocks/bin:$PATH
|
|
|
|
install:
|
|
|
|
- luarocks install --server="http://luarocks.org/dev" lua-zip
|
|
|
|
- luarocks install love-release
|
|
|
|
- sudo add-apt-repository -y ppa:bartbes/love-stable
|
|
|
|
- sudo apt-get -q update
|
|
|
|
- sudo apt-get -y install love
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/luarocks
|
2020-03-08 22:24:11 +00:00
|
|
|
script:
|
2020-03-13 07:33:54 +00:00
|
|
|
- bash daily.sh
|
2020-03-08 22:24:11 +00:00
|
|
|
env:
|
|
|
|
global:
|
2020-03-09 04:07:58 +00:00
|
|
|
- secure: DU2Mq4FPbOidv0Go4b+2r5Vy7v0bbQo40ZZPkiwm/6nAJYkwySwVn2DyZGwh/kV4o6ZG0IgtLxPvHiF8lVZptbtkHJTt/GeokwwvsfpHJntPC9jyvXklFkkln9h2AgWrhTmFf+EYE4Mlm7FAjsr/9ZZHCuGn7wDCOBk3g4Zy7eAyKGqpYMN3296eUiZPXWtOAexmbavFI07pmu4ZyJ8K6HMmjd8YSAQpui3zJn/hMTupQm+o5s/ehZ72QnUyjRWdKvLlJCzORrajJxgYXQqLdjXVMcq4kuR4pDRnLdW9XBlAWiHOvj7wlVOUyBq2ZyhkTTNEYiQp+9UsIua1gG0hdLiOGH2ODtrb6NvQIRUfs5jE6xHmw3hQCfIe9itT+SbVQmuuTovM/MQTS/vH7k+AHtnJCGykMjAD6evNi1EkOG5oxrL7xEGPz7lzyVISoz0O4YmMWGF0qIzb68R11+Eo1URFrEUDxZc7F2kMoeAbnTxfiGABrMXrgIN7ReJhfD1z4ik6KwKBFw9AwJfldyb5w0QgqFAkkihqKGp5VbTMR6LeSN0Tq/Ic3QRvLHYt43+eoRXS4d2lvSo/0Nf7FftQPurbLI6c/r9nckwOZmjFicwYJ0Ulrbd46og74FUQZFSMcrVsiXo1PG2yTwu9bUvTBUHWdWh0o2xPpfAHbA05++c=
|
2020-03-13 07:33:54 +00:00
|
|
|
before_deploy:
|
|
|
|
- |
|
|
|
|
cd src; love-release -M; cd -
|
|
|
|
bash reshacker.sh
|
|
|
|
mv pre-edited-cs "src/releases/Cave Story"
|
|
|
|
cd src/releases
|
|
|
|
zip -9 -qur CaveStoryRandomizer-macos.zip "Cave Story"
|
|
|
|
zip -9 -qr CaveStoryRandomizer-linux.zip "Cave Story" CaveStoryRandomizer.love
|
|
|
|
cd -
|
|
|
|
# don't forget to create the windows releases!
|
2020-03-09 04:07:58 +00:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
2020-03-13 07:33:54 +00:00
|
|
|
token:
|
2020-03-09 04:07:58 +00:00
|
|
|
secure: bMinTly2BOZCNQw625Fz744hvVQlnwZiC6pQZZx1f5evs0gi4TXbqqft5UN3orGgRiNnVnbf2qYC7PnS1LzynHUimdVk8iqfRKz4ADuWXyf9/i1gojzzSAI87lxbGaHxzqjZLtzf1zRonPlY1oj9X3a1eAle6EEAn/Utnm/jqZPhTYm8cMowLWqcVTcDOw1lhBpgsVYdej1wCaq7r2KBDvrqWZCdt8pJ2lcaShJEqmBONDvu9KO+gbNXwmhBAz4bG0DTVFhO459ZNjfNz749eiU7KhbxvFgz7O+j8HEdhlXznYgmzveUmVmhOSe3z037YwCNv+2ar0FITGkmTpgog0z2XuxDMb28Eakoc0uzaowwB68JRfEeRpBGidhSGraZ5DnHOS3QdDaEQ4jImv97DagiVoqcKm3JDGhGuvbI4dfPsXHKMncJC8cqf86NwSg63boabcoUTwzVLZdd4tbiOBqYPBgEtEz4uFgKvkrrzE0DoP1Efi1aZqcnOW6xckHbC261rxB5QG8WGcb1tDnmQgbhbEEguPHuzKBWP6ktpjpFdeS3Wbqb0UMaXQXMCcaMpJfCLNsLxQ6iHOh+XQhJREDPTuXm4F1m0BzSjBvQpWQ4tpO+kF1KiJ4wiwzn9jTfJxhgMgxEoY75dtH+E0K2jXLRezychR22V+7R9ifNLns=
|
|
|
|
file:
|
2020-03-13 07:33:54 +00:00
|
|
|
- src/releases/*.zip
|
2020-03-09 04:07:58 +00:00
|
|
|
file_glob: true
|
|
|
|
draft: true
|
2020-03-13 07:33:54 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|