Skip to content

- Use unsorted view for autobooting. #568

- Use unsorted view for autobooting.

- Use unsorted view for autobooting. #568

name: Swiss build
on: [push, pull_request]
jobs:
build:
name: Build Swiss
runs-on: ubuntu-latest
container: devkitpro/devkitppc:latest
steps:
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends gcc gcc-mingw-w64-i686 libc6-dev libc6-i386 p7zip-full xorriso
sudo dkp-pacman-key --recv-keys C8A2759C315CFBC3429CC2E422B803BA8AA3D7CE --keyserver keyserver.ubuntu.com
sudo dkp-pacman-key --lsign-key C8A2759C315CFBC3429CC2E422B803BA8AA3D7CE
sudo sed -i '/^\[dkp-libs\]$/,$d' /opt/devkitpro/pacman/etc/pacman.conf
sudo echo -e '[extremscorner-devkitpro]\nServer = https://packages.extremscorner.org/devkitpro/linux/$arch' >> /opt/devkitpro/pacman/etc/pacman.conf
sudo dkp-pacman -Sy
sudo dkp-pacman -S --noconfirm --ask 4 gamecube-tools-git libogc2-git libogc2-libdvm-git ppc-libdeflate ppc-libmad ppc-libpsoarchive ppc-libxxhash ppc-zlib-ng-compat
- name: Checkout Swiss
uses: actions/checkout@main
with:
path: swiss
fetch-depth: 0
- name: Build Swiss artifacts
run: make
working-directory: swiss
- name: Upload Swiss artifacts
uses: actions/upload-artifact@main
with:
name: swiss-gc
path: swiss/swiss_r*/*