From d8d756733fa2e9a801401ca46c722e8434f15350 Mon Sep 17 00:00:00 2001 From: Ian Chamberlain Date: Sat, 20 Apr 2024 11:47:24 -0400 Subject: [PATCH] Pull citra from PabloMK7 fork --- run-tests/Dockerfile | 5 ++--- run-tests/docker/download_citra.sh | 7 ++----- 2 files changed, 4 insertions(+), 8 deletions(-) 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