OpenTTD-patches/azure-pipelines/templates/ci-opengfx.yml
Patric Stout 4218ebc932 Fix: [AzurePipelines] switch the CI / CD to CMake too
This also means dropping Debian/jessie, as it has a CMake that is
too old (3.0), with no real path to upgrade.
2020-06-05 19:36:05 +02:00

14 lines
526 B
YAML

parameters:
SharedFolder: '/usr/local/share/games/openttd'
PrefixCommand: ''
steps:
- bash: |
set -ex
${{ parameters.PrefixCommand }} mkdir -p "${{ parameters.SharedFolder }}/baseset"
cd "${{ parameters.SharedFolder }}/baseset"
${{ parameters.PrefixCommand }} curl -L https://cdn.openttd.org/opengfx-releases/0.6.0/opengfx-0.6.0-all.zip -o opengfx-all.zip
${{ parameters.PrefixCommand }} unzip opengfx-all.zip
${{ parameters.PrefixCommand }} rm -f opengfx-all.zip
displayName: 'Install OpenGFX'