File tree Expand file tree Collapse file tree 5 files changed +18
-17
lines changed
Expand file tree Collapse file tree 5 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22# Installs Everest from the branch to test, CelesteTAS and the mod that is going to be TASed.
3- # Parameters: ID of the mod to be TASed , URL of the TAS files
3+ # Parameters: URL of the TAS files , URL of the mod bundle
44
55set -xeo pipefail
66
77docker build \
88 --build-arg " MAIN_BUILD_URL=` cat /tmp/everest-pr-tas-check/download-link.txt` " \
9- --build-arg " TAS_FILES_URL=$2 " \
10- --build-arg " TAS_TO_RUN= $1 " \
9+ --build-arg " TAS_FILES_URL=$1 " \
10+ --build-arg " BUNDLE_DOWNLOAD_URL= $2 " \
1111 -t celeste .
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ curl --fail -Lo CelesteTAS.zip "https://github.com/EverestAPI/CelesteTAS-Everest
3131
3232# install the mod that is going to be TASed, downloaded as a bundle zip containing the mod zip
3333# and all of its dependencies (https://maddie480.ovh/celeste/bundle-download?id=${TAS_TO_RUN})
34- # for simplicity's sake, Celeste-Bundle.zip exists but is an empty zip
35- curl --fail -Lo t.zip " https://celestemodupdater.0x0a.de/pinned-mods/${TAS_TO_RUN} -Bundle.zip"
36- unzip t.zip
37- rm -v t.zip
34+ if ! [ " ${BUNDLE_DOWNLOAD_URL} " == " " ]; then
35+ curl --fail -Lo t.zip " ${BUNDLE_DOWNLOAD_URL} "
36+ unzip t.zip
37+ rm -v t.zip
38+ fi
Original file line number Diff line number Diff line change 11FROM max480/everest:vanilla
22
3- ARG MAIN_BUILD_URL TAS_FILES_URL TAS_TO_RUN
3+ ARG MAIN_BUILD_URL TAS_FILES_URL BUNDLE_DOWNLOAD_URL
44COPY 2-2-install-inner.sh /tmp
55RUN /tmp/2-2-install-inner.sh && rm /tmp/2-2-install-inner.sh
Original file line number Diff line number Diff line change @@ -16,8 +16,9 @@ case "$1" in
1616 ;;
1717
1818 " StrawberryJam2021" )
19- TAS_URL=" https://github.com/VampireFlower/StrawberryJamTAS/archive/fc7397c26f4d15468d4a8a3e58e7cc3d62d21223.zip"
20- TAS_PATH=" StrawberryJamTAS-fc7397c26f4d15468d4a8a3e58e7cc3d62d21223/0-SJ All Levels.tas"
19+ TAS_URL=" https://github.com/VampireFlower/StrawberryJamTAS/archive/c9c589a8ef225def5aca869cc1ed3eedf588ec14.zip"
20+ TAS_PATH=" StrawberryJamTAS-c9c589a8ef225def5aca869cc1ed3eedf588ec14/0-SJ All Levels.tas"
21+ BUNDLE_DOWNLOAD=" https://celestemodupdater.0x0a.de/pinned-mods/StrawberryJam2021-Bundle-134df0f4.zip"
2122 ;;
2223
2324 * )
2728
2829cd " ` dirname " $0 " ` "
2930./1-get-build-url.sh " $2 "
30- ./2-1-install.sh " $1 " " ${TAS_URL } "
31+ ./2-1-install.sh " ${TAS_URL} " " ${BUNDLE_DOWNLOAD } "
3132./3-run.sh " ${TAS_PATH} "
Original file line number Diff line number Diff line change @@ -10,14 +10,13 @@ jobs:
1010 matrix :
1111 tas :
1212 - name : Celeste 100%
13- mod : Celeste
1413 url : " https://github.com/VampireFlower/CelesteTAS/archive/60b1680e61e43ec4681d7c9053d249491e0fe905.zip"
1514 path : " CelesteTAS-60b1680e61e43ec4681d7c9053d249491e0fe905/0 - 100%.tas"
1615
1716 - name : Strawberry Jam All Levels
18- mod : StrawberryJam2021
19- url : " https://github.com/VampireFlower/ StrawberryJamTAS/archive/fc7397c26f4d15468d4a8a3e58e7cc3d62d21223.zip "
20- path : " StrawberryJamTAS-fc7397c26f4d15468d4a8a3e58e7cc3d62d21223/0-SJ All Levels.tas "
17+ url : " https://github.com/VampireFlower/StrawberryJamTAS/archive/c9c589a8ef225def5aca869cc1ed3eedf588ec14.zip "
18+ path : " StrawberryJamTAS-c9c589a8ef225def5aca869cc1ed3eedf588ec14/0-SJ All Levels.tas "
19+ bundle : " https://celestemodupdater.0x0a.de/pinned-mods/StrawberryJam2021-Bundle-134df0f4.zip "
2120
2221 runs-on : ubuntu-latest
2322 timeout-minutes : 60
3231 - name : Wait for Azure build on commit ${{ github.sha }}
3332 run : cd .github/tas-check && ./1-get-build-url.sh "${{ github.sha }}"
3433
35- - name : Install Everest and ${{ matrix.tas.mod }}
36- run : cd .github/tas-check && ./2-1-install.sh "${{ matrix.tas.mod }}" "${{ matrix.tas.url }}"
34+ - name : Install Everest and required mods
35+ run : cd .github/tas-check && ./2-1-install.sh "${{ matrix.tas.url }}" "${{ matrix.tas.bundle }}"
3736
3837 - name : Run TAS at ${{ matrix.tas.path }}
3938 run : cd .github/tas-check && ./3-run.sh "${{ matrix.tas.path }}"
You can’t perform that action at this time.
0 commit comments