@@ -891,13 +891,20 @@ jobs:
891891 container :
892892 image : git.libretro.com:5050/libretro-infrastructure/libretro-build-psl1ght:latest
893893 options : -u root
894+ volumes :
895+ - /tmp:/__e/node20
894896 steps :
895897 - name : Install dependencies
898+ shell : bash
896899 run : |
897- apt update
898- apt install -y git build-essential pip ninja-build jq
899- apt remove -y meson cmake
900- pip install meson cmake
900+ ln -s "$HOME/miniconda3/bin" /__e/node20/bin
901+ echo "$HOME/miniconda3/bin" >> "$GITHUB_PATH"
902+ mkdir -p ~/miniconda3
903+ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
904+ bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
905+ rm ~/miniconda3/miniconda.sh
906+ source ~/miniconda3/bin/activate
907+ conda install -y nodejs=20 git jq meson cmake
901908
902909 - id : short-sha
903910 name : Get Git commit hash
@@ -958,13 +965,20 @@ jobs:
958965 container :
959966 image : git.libretro.com:5050/libretro-infrastructure/libretro-build-devkitpro:latest
960967 options : -u root
968+ volumes :
969+ - /tmp:/__e/node20
961970 steps :
962971 - name : Install dependencies
972+ shell : bash
963973 run : |
964- apt update
965- apt install -y git build-essential pip ninja-build jq
966- apt remove -y meson cmake
967- pip install meson cmake
974+ ln -s "$HOME/miniconda3/bin" /__e/node20/bin
975+ echo "$HOME/miniconda3/bin" >> "$GITHUB_PATH"
976+ mkdir -p ~/miniconda3
977+ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
978+ bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
979+ rm ~/miniconda3/miniconda.sh
980+ source ~/miniconda3/bin/activate
981+ conda install -y nodejs=20 git jq meson cmake
968982
969983 - id : short-sha
970984 name : Get Git commit hash
@@ -1026,13 +1040,20 @@ jobs:
10261040 container :
10271041 image : git.libretro.com:5050/libretro-infrastructure/libretro-build-vita:latest
10281042 options : -u root
1043+ volumes :
1044+ - /tmp:/__e/node20
10291045 steps :
10301046 - name : Install dependencies
1047+ shell : bash
10311048 run : |
1032- apt update
1033- apt install -y git build-essential pip ninja-build jq
1034- apt remove -y meson cmake
1035- pip install meson cmake
1049+ ln -s "$HOME/miniconda3/bin" /__e/node20/bin
1050+ echo "$HOME/miniconda3/bin" >> "$GITHUB_PATH"
1051+ mkdir -p ~/miniconda3
1052+ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
1053+ bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
1054+ rm ~/miniconda3/miniconda.sh
1055+ source ~/miniconda3/bin/activate
1056+ conda install -y nodejs=20 git jq meson cmake
10361057
10371058 - id : short-sha
10381059 name : Get Git commit hash
@@ -1093,13 +1114,20 @@ jobs:
10931114 container :
10941115 image : git.libretro.com:5050/libretro-infrastructure/libretro-build-wiiu:latest
10951116 options : -u root
1117+ volumes :
1118+ - /tmp:/__e/node20
10961119 steps :
10971120 - name : Install dependencies
1121+ shell : bash
10981122 run : |
1099- apt update
1100- apt install -y git build-essential pip ninja-build jq
1101- apt remove -y meson cmake
1102- pip install meson cmake
1123+ ln -s "$HOME/miniconda3/bin" /__e/node20/bin
1124+ echo "$HOME/miniconda3/bin" >> "$GITHUB_PATH"
1125+ mkdir -p ~/miniconda3
1126+ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
1127+ bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
1128+ rm ~/miniconda3/miniconda.sh
1129+ source ~/miniconda3/bin/activate
1130+ conda install -y nodejs=20 git jq meson cmake
11031131
11041132 - name : Build and install wiiurpxtool
11051133 run : |
@@ -1176,13 +1204,20 @@ jobs:
11761204 container :
11771205 image : git.libretro.com:5050/libretro-infrastructure/libretro-build-libnx-devkitpro:latest
11781206 options : -u root
1207+ volumes :
1208+ - /tmp:/__e/node20
11791209 steps :
11801210 - name : Install dependencies
1211+ shell : bash
11811212 run : |
1182- apt update
1183- apt install -y git build-essential pip ninja-build jq
1184- apt remove -y meson cmake
1185- pip install meson cmake
1213+ ln -s "$HOME/miniconda3/bin" /__e/node20/bin
1214+ echo "$HOME/miniconda3/bin" >> "$GITHUB_PATH"
1215+ mkdir -p ~/miniconda3
1216+ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
1217+ bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
1218+ rm ~/miniconda3/miniconda.sh
1219+ source ~/miniconda3/bin/activate
1220+ conda install -y nodejs=20 git jq meson cmake
11861221
11871222 - id : short-sha
11881223 name : Get Git commit hash
@@ -1224,13 +1259,7 @@ jobs:
12241259 - name : Build frontend
12251260 run : |
12261261 cd ~
1227- tag_name=$(curl -s https://api.github.com/repos/libretro/RetroArch/releases/latest | jq -r '.tag_name')
1228- git clone https://github.com/libretro/RetroArch retroarch --depth 1 -b $tag_name
1229- if [ $tag_name = 'v1.20.0' ]
1230- then
1231- curl -Lo retroarch.patch https://github.com/libretro/RetroArch/pull/17620.patch
1232- patch -i retroarch.patch ~/retroarch/menu/menu_driver.c
1233- fi
1262+ git clone https://github.com/libretro/RetroArch retroarch --depth 1 -b $(curl -s https://api.github.com/repos/libretro/RetroArch/releases/latest | jq -r '.tag_name')
12341263 mv mkxp-z_libretro.a retroarch/libretro_libnx.a
12351264 cd retroarch
12361265 CLICOLOR_FORCE=1 make -f Makefile.libnx LIBRETRO=mkxp-z
0 commit comments