Skip to content

Commit

Permalink
CI runs (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
stonedDiscord authored Sep 21, 2024
1 parent c4a54ed commit fe7e691
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build

on: [push, pull_request, workflow_dispatch]

jobs:
build:
name: Build
runs-on: ubuntu-latest
container: devkitpro/devkitppc:latest

steps:
- name: Install packages
run: |
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 libogc2 libogc2-libfat libogc2-libntfs
- name: Checkout
uses: actions/checkout@main

- name: Build artifacts
run: make

- name: Copy DOL
run: cp ./cleanrip.dol ./release/apps/CleanRip/boot.dol

- name: Upload artifacts
uses: actions/upload-artifact@main
with:
name: cleanrip
path: ./release/

0 comments on commit fe7e691

Please sign in to comment.