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: |
|
2020-07-05 03:16:33 +00:00
|
|
|
(cd GRRLIB && make clean all install)
|
2021-07-05 04:33:45 +00:00
|
|
|
(cd GRRLIB/GRRLIB && make PLATFORM=cube clean all install)
|
2022-05-25 04:10:17 +00:00
|
|
|
(cd examples && make)
|
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/*
|