2020-01-26 17:37:39 +00:00
|
|
|
name: Continuous Integration
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
runs-on: ubuntu-latest
|
2020-07-05 03:16:33 +00:00
|
|
|
container:
|
|
|
|
image: devkitpro/devkitppc:latest
|
2020-01-26 17:37:39 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: Checkout the Git repository
|
2024-01-09 04:31:53 +00:00
|
|
|
uses: actions/checkout@v4
|
2020-01-26 17:37:39 +00:00
|
|
|
|
|
|
|
- name: Build library and examples
|
|
|
|
run: |
|
2024-10-19 20:49:24 +00:00
|
|
|
make -C GRRLIB clean all install
|
|
|
|
make -C GRRLIB/GRRLIB PLATFORM=cube clean all install
|
|
|
|
make -C examples
|
2021-03-05 06:25:17 +00:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
with:
|
|
|
|
name: examples
|
|
|
|
path: |
|
|
|
|
examples/**/*.elf
|
|
|
|
!examples/template/*
|
2022-05-28 18:09:54 +00:00
|
|
|
examples/gamecube/**/*.dol
|
|
|
|
!examples/gamecube/template/*
|