GRRLIB/.github/workflows/ci.yml
2024-01-08 23:31:53 -05:00

31 lines
682 B
YAML

name: Continuous Integration
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
container:
image: devkitpro/devkitppc:latest
steps:
- name: Checkout the Git repository
uses: actions/checkout@v4
- name: Build library and examples
run: |
(cd GRRLIB && make clean all install)
(cd GRRLIB/GRRLIB && make PLATFORM=cube clean all install)
(cd examples && make)
- uses: actions/upload-artifact@master
with:
name: examples
path: |
examples/**/*.elf
!examples/template/*
examples/gamecube/**/*.dol
!examples/gamecube/template/*