-
-
Notifications
You must be signed in to change notification settings - Fork 93
37 lines (31 loc) · 1.28 KB
/
continuous-integration-workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 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*/*