- Fix it for real, kind of. #321
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- name: Checkout libogc2 | |
uses: actions/checkout@main | |
with: | |
repository: extremscorner/libogc2 | |
path: libogc2 | |
- name: Checkout Swiss | |
uses: actions/checkout@main | |
with: | |
path: swiss | |
fetch-depth: 0 | |
- name: Build libogc2 | |
run: make install | |
working-directory: libogc2 | |
- 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*/* |