mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-24 15:52:20 +00:00
31 lines
682 B
YAML
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/*
|