cemu_graphic_packs/.travis.yml

64 lines
2.3 KiB
YAML
Raw Normal View History

Switch to Travis CI with multiple builds (#218) * [Hyrule Warriors] Fixed coop-gamepad resolution (#212) Thanks to @offline2007 for making a PR with this fix. * [BotW] Add more lava artifact spots Thanks to Soos from the discord for reporting these two spots. Seems like there's likely some more manual editing that needs to be done, these shaders are just very minor (name) changes on the primarily used lava lake shader. * Add Minecraft * Shit pack Probably only prevents HUD from counting down lmao * add Splatoon LOD Bias pack * Add BotW LOD Bias * Change LOD Bias settings for BotW & Splat Pretty much NVIDIA Inspector -3 now... If you want -16 you know what to do: overwriteLodBias = -16 * [SSB4] Replace pixel mess with black screen Should take care of the character issue, but it's now a black screen... If you want to go back to the old method, comment out the width and height overrides and uncomment the format override https://cdn.discordapp.com/attachments/416648220433711116/442867371229708311/unknown.png * Add Runner2 Blur automatically disabled in res packs, separate pack made for native res users Will add other regions at later date unless someone beats me to it * Add other regions to Runner2 Demo title id included * Switch to Travis CI with multiple builds This will swap over to Travis which offers native linux builds. It's, against our expectations, slower or equal (probably due to lower specs), then our current Appveyor build. It does allow for a cleaner build and also implements a way to add random resolutions people would like to be added in our new 2 parallel building method. It builds Github Releases that contain multiple assets. This'll also make the common downloaded resolutions be more on their own so that people won't have loading problems. Also, the building process contains less initial spam due to the Travis' line folding. If there's an error from the php script it'll unfold automatically so no information is really hidden.
2018-05-13 22:10:06 +02:00
# Aim to have fast builds
# TODO: Maybe don't build the files into seperate folders and copy them after that anyway.
language: php
php:
- 7.0
git:
depth: 1
submodules: false
if: branch IS master
if: tag IS blank
branches:
only:
master
# Simultaneous builds for common and uncommon resolutions
env:
matrix:
- buildType=Common
- buildType=Uncommon
global:
2018-05-13 22:15:35 +02:00
- secure: "X0PrKXLjW6r8e0zT7+SshhP7uaW/5EW2BJPCc/oRIWX6eC4QLXv0lQBstIZ6vChAvgYv2K1CcBlWHrQarTlHqmkYnfHAfOFK//qURFUfuyTkKcKU/aCYvm4op0jPGw8+wbOkxwfnbvOaa0E7oBv4GCXVPYCU3nm7E1H2XHgcfJukaEhpvFfHaNohoh1ygVt65G1WIoYwUIFh/0XXgP6RVBDCAU+QYaNopK5co2O40vhjtg2f0la4zMsunMEY5oXNMaM/oRAvGBaXJ3KUTgSb0+uRlEM/XxOYRyfmG6fjVXYbwL6j+kNCLsZklCfN98AAvbysCebQWhI46vJcPa/Ji/ImMeAns17fBlHMn+PI0MIBbPkMztEkenXW3Yv1BquBHElhB758Fd1Zt9KdA5H5JC6WfuRBd+QBwlzOBxOrVfmaI3uOmy3cEvQZgckPGN+7SdSDyrw/+ukM+Ks775qaZ/bw3eQyMx6DpfATa6pVzK0AWj4Xlm4IufaOFI/hy2gH60hV+3KuYXeSJOq4gXYbtJcruAbHK5YOeEmAEsVCpz+RKSuAWWvcPktoyLTOjbGTM89Yf3jFgZOFi4HNCt7K67/bDnflsHj04X/pDm3gQ0XhxQx1Sj1j0IG1XLh+k37uL2FZusBbd+8kI1SkMED5aVWTp1WmbJN+dJXZMWJxJPc=" # GITHUB_TOKEN
Switch to Travis CI with multiple builds (#218) * [Hyrule Warriors] Fixed coop-gamepad resolution (#212) Thanks to @offline2007 for making a PR with this fix. * [BotW] Add more lava artifact spots Thanks to Soos from the discord for reporting these two spots. Seems like there's likely some more manual editing that needs to be done, these shaders are just very minor (name) changes on the primarily used lava lake shader. * Add Minecraft * Shit pack Probably only prevents HUD from counting down lmao * add Splatoon LOD Bias pack * Add BotW LOD Bias * Change LOD Bias settings for BotW & Splat Pretty much NVIDIA Inspector -3 now... If you want -16 you know what to do: overwriteLodBias = -16 * [SSB4] Replace pixel mess with black screen Should take care of the character issue, but it's now a black screen... If you want to go back to the old method, comment out the width and height overrides and uncomment the format override https://cdn.discordapp.com/attachments/416648220433711116/442867371229708311/unknown.png * Add Runner2 Blur automatically disabled in res packs, separate pack made for native res users Will add other regions at later date unless someone beats me to it * Add other regions to Runner2 Demo title id included * Switch to Travis CI with multiple builds This will swap over to Travis which offers native linux builds. It's, against our expectations, slower or equal (probably due to lower specs), then our current Appveyor build. It does allow for a cleaner build and also implements a way to add random resolutions people would like to be added in our new 2 parallel building method. It builds Github Releases that contain multiple assets. This'll also make the common downloaded resolutions be more on their own so that people won't have loading problems. Also, the building process contains less initial spam due to the Travis' line folding. If there's an error from the php script it'll unfold automatically so no information is really hidden.
2018-05-13 22:10:06 +02:00
matrix:
fast_finish: true
# === Build steps ===
# No dependencies
install: npm install -g github-release-cli
# No need to debug the PHP code. Would slow down execution
before_script:
- phpenv config-rm xdebug.ini
script: ./build.sh
after_success:
# Create zip file
- mkdir build
- mv $TRAVIS_BUILD_DIR/Enhancement/* build
- mv $TRAVIS_BUILD_DIR/Enthusiast/* build
- mv $TRAVIS_BUILD_DIR/Modifications/* build
- mv $TRAVIS_BUILD_DIR/Performance/* build
- mv $TRAVIS_BUILD_DIR/Quality/* build
- mv $TRAVIS_BUILD_DIR/Workaround/* build
- cd build
- zip -o -9 -r -q "../graphicPacks$buildType""_$TRAVIS_BUILD_NUMBER"".zip" ./*
- cd ..
# Create github release
- |
github-release upload \
2018-05-13 22:28:10 +02:00
--owner=slashiee \
Switch to Travis CI with multiple builds (#218) * [Hyrule Warriors] Fixed coop-gamepad resolution (#212) Thanks to @offline2007 for making a PR with this fix. * [BotW] Add more lava artifact spots Thanks to Soos from the discord for reporting these two spots. Seems like there's likely some more manual editing that needs to be done, these shaders are just very minor (name) changes on the primarily used lava lake shader. * Add Minecraft * Shit pack Probably only prevents HUD from counting down lmao * add Splatoon LOD Bias pack * Add BotW LOD Bias * Change LOD Bias settings for BotW & Splat Pretty much NVIDIA Inspector -3 now... If you want -16 you know what to do: overwriteLodBias = -16 * [SSB4] Replace pixel mess with black screen Should take care of the character issue, but it's now a black screen... If you want to go back to the old method, comment out the width and height overrides and uncomment the format override https://cdn.discordapp.com/attachments/416648220433711116/442867371229708311/unknown.png * Add Runner2 Blur automatically disabled in res packs, separate pack made for native res users Will add other regions at later date unless someone beats me to it * Add other regions to Runner2 Demo title id included * Switch to Travis CI with multiple builds This will swap over to Travis which offers native linux builds. It's, against our expectations, slower or equal (probably due to lower specs), then our current Appveyor build. It does allow for a cleaner build and also implements a way to add random resolutions people would like to be added in our new 2 parallel building method. It builds Github Releases that contain multiple assets. This'll also make the common downloaded resolutions be more on their own so that people won't have loading problems. Also, the building process contains less initial spam due to the Travis' line folding. If there's an error from the php script it'll unfold automatically so no information is really hidden.
2018-05-13 22:10:06 +02:00
--repo=cemu_graphic_packs \
--tag="Travis$TRAVIS_BUILD_NUMBER" \
--name="Graphic Packs: version $TRAVIS_BUILD_NUMBER" \
--body="$(git log -1 --format='Commited at %ci by **%cn** in commit %h%n### %s%n```%n%b%n```%n') $(if [ '$buildType' = 'Common' ]; then echo 'This is a prerelease with only the common resolutions.'; fi)" \
$([ "$buildType" = "Common" ] && echo "--prerelease=true" || echo "--prerelease=false") \
2018-05-13 22:28:10 +02:00
"graphicPacks$buildType""_$TRAVIS_BUILD_NUMBER"".zip"