mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 06:52:20 +00:00
Use a Docker container for CI
This commit is contained in:
parent
358f147db1
commit
504be4ba4d
1 changed files with 4 additions and 14 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -7,26 +7,16 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
container:
|
||||||
DEVKITPRO: /opt/devkitpro
|
image: devkitpro/devkitppc:latest
|
||||||
DEVKITPPC: ${DEVKITPRO}/devkitPPC
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout the Git repository
|
- name: Checkout the Git repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Download and install devkitPro
|
|
||||||
run: |
|
|
||||||
wget -nv https://github.com/devkitPro/pacman/releases/latest/download/devkitpro-pacman.amd64.deb
|
|
||||||
sudo apt-get install gdebi-core
|
|
||||||
sudo gdebi --non-interactive devkitpro-pacman.amd64.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
|
- name: Build library and examples
|
||||||
run: |
|
run: |
|
||||||
(cd GRRLIB && sudo -E make clean all install)
|
(cd GRRLIB && make clean all install)
|
||||||
(cd examples && make)
|
(cd examples && make)
|
||||||
(cd GRRLIB && sudo -E make PLATFORM=cube clean all)
|
(cd GRRLIB && make PLATFORM=cube clean all)
|
||||||
|
|
Loading…
Reference in a new issue