1
0
Fork 0
mirror of https://github.com/GRRLIB/GRRLIB.git synced 2025-03-21 10:28:59 +00:00
GRRLIB/.github/workflows/ci.yml

34 lines
836 B
YAML
Raw Normal View History

name: Continuous Integration
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
2020-07-04 23:16:33 -04:00
container:
image: devkitpro/devkitppc:latest
steps:
- name: Checkout the Git repository
2024-01-08 23:31:53 -05:00
uses: actions/checkout@v4
- name: Build library and examples
run: |
2024-10-19 16:49:24 -04:00
make -C GRRLIB clean all install
make -C GRRLIB/GRRLIB PLATFORM=cube clean all install
make -C examples
/opt/devkitpro/portlibs/wii/bin/powerpc-eabi-cmake -S $GITHUB_WORKSPACE/examples/cmake -B /tmp/build-wii -G Ninja
cmake --build /tmp/build-wii --verbose
2021-03-05 01:25:17 -05:00
- uses: actions/upload-artifact@master
with:
name: examples
path: |
examples/**/*.elf
!examples/template/*
examples/gamecube/**/*.dol
!examples/gamecube/template/*