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
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Build library and examples
|
|
|
|
run: |
|
2020-07-05 03:16:33 +00:00
|
|
|
(cd GRRLIB && make clean all install)
|
2020-01-26 17:37:39 +00:00
|
|
|
(cd examples && make)
|
2020-07-05 03:16:33 +00:00
|
|
|
(cd GRRLIB && make PLATFORM=cube clean all)
|
2021-03-05 06:25:17 +00:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
with:
|
|
|
|
name: examples
|
|
|
|
path: |
|
|
|
|
examples/**/*.elf
|
|
|
|
!examples/template/*
|