diff --git a/run-tests/Dockerfile b/run-tests/Dockerfile index a87bd1f..8b60653 100644 --- a/run-tests/Dockerfile +++ b/run-tests/Dockerfile @@ -4,9 +4,8 @@ WORKDIR /tmp COPY ./docker/download_citra.sh /usr/local/bin/download_citra RUN apt-get update -y && apt-get install -y jq -ARG CITRA_CHANNEL=nightly -ARG CITRA_RELEASE=2098 -RUN download_citra ${CITRA_CHANNEL} ${CITRA_RELEASE} +ARG TAG=r0c2f076 +RUN download_citra ${TAG} FROM devkitpro/devkitarm:latest as devkitarm diff --git a/run-tests/docker/download_citra.sh b/run-tests/docker/download_citra.sh index fd12cea..f16ec11 100755 --- a/run-tests/docker/download_citra.sh +++ b/run-tests/docker/download_citra.sh @@ -2,12 +2,9 @@ set -euxo pipefail -CITRA_CHANNEL=$1 -CITRA_RELEASE=$2 +TAG=$1 -RELEASE_API="https://api.github.com/repos/citra-emu/citra-${CITRA_CHANNEL}/releases/tags/${CITRA_CHANNEL}-${CITRA_RELEASE}" - -curl "${RELEASE_API}" | +curl "https://api.github.com/repos/PabloMK7/citra/releases/tags/${TAG}" | jq --raw-output '.assets[].browser_download_url' | grep -E 'citra-linux-.*[.]tar.gz' | xargs wget -O citra-linux.tar.gz