mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-09-20 04:35:20 +00:00
32 lines
866 B
YAML
32 lines
866 B
YAML
|
name: Continuous Integration
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
|
||
|
build:
|
||
|
name: Build
|
||
|
runs-on: ubuntu-latest
|
||
|
env:
|
||
|
DEVKITPRO: /opt/devkitpro
|
||
|
DEVKITPPC: ${DEVKITPRO}/devkitPPC
|
||
|
|
||
|
steps:
|
||
|
|
||
|
- name: Checkout the Git repository
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Download and install devkitPro
|
||
|
run: |
|
||
|
wget -nv https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb
|
||
|
sudo dpkg --install devkitpro-pacman.deb
|
||
|
|
||
|
- name: Install required packages
|
||
|
run: sudo dkp-pacman --sync --sysupgrade --refresh --needed --noconfirm wii-dev ppc-libpng ppc-freetype ppc-libjpeg-turbo
|
||
|
|
||
|
- name: Build library and examples
|
||
|
run: |
|
||
|
(cd GRRLIB && sudo -E make clean all install)
|
||
|
(cd examples && make)
|
||
|
(cd GRRLIB && sudo -E make PLATFORM=cube clean all)
|