Skip to content

medias: fix medias paths with recalbox gamelist.xml format #81

medias: fix medias paths with recalbox gamelist.xml format

medias: fix medias paths with recalbox gamelist.xml format #81

Workflow file for this run

name: switch-dev
on:
push:
branches: [ dev ]
workflow_dispatch:
jobs:
build-switch-dev:
runs-on: ubuntu-20.04
container: devkitpro/devkita64:latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install build dependencies
run: |
sudo apt -yq update
sudo apt -yq install git build-essential cmake zip
# TODO: remove when merged
- name: Update SDL2
run: |
git clone --depth 1 --branch switch-sdl2-2.0.14-dev https://github.com/devkitPro/SDL.git
cd SDL && mkdir build && cd build
cmake \
-DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/cmake/Switch.cmake \
-DCMAKE_INSTALL_PREFIX=/opt/devkitpro/portlibs/switch \
-DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) install
- name: Build pfbneo
run: |
mkdir cmake-build-pfbneo && cd cmake-build-pfbneo
source /etc/profile.d/devkit-env.sh
cmake -G "Unix Makefiles" -DPLATFORM_SWITCH=ON -DOPTION_EMU=pfbneo -DCMAKE_BUILD_TYPE=Debug ..
make pfbneo.deps
make -j $(getconf _NPROCESSORS_ONLN) pfbneo.nro
- name: Build pgen
run: |
mkdir cmake-build-pgen && cd cmake-build-pgen
source /etc/profile.d/devkit-env.sh
cmake -G "Unix Makefiles" -DPLATFORM_SWITCH=ON -DOPTION_EMU=pgen -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) pgen.nro
- name: Build pnes
run: |
mkdir cmake-build-pnes && cd cmake-build-pnes
source /etc/profile.d/devkit-env.sh
cmake -G "Unix Makefiles" -DPLATFORM_SWITCH=ON -DOPTION_EMU=pnes -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) pnes.nro
- name: Build psnes
run: |
mkdir cmake-build-psnes && cd cmake-build-psnes
source /etc/profile.d/devkit-env.sh
cmake -G "Unix Makefiles" -DPLATFORM_SWITCH=ON -DOPTION_EMU=psnes -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) psnes.nro