2020-07-22 17:20:40 +02:00
|
|
|
name: FCE Ultra GX Build
|
2020-07-21 23:11:13 +02:00
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: ubuntu-20.04
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
container: devkitpro/devkitppc:latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
make -j2
|
2020-10-25 17:20:15 +01:00
|
|
|
|
|
|
|
- name: Copy files
|
|
|
|
run: |
|
2020-10-25 12:30:41 -06:00
|
|
|
mkdir -p dist/FCEUltraGX/apps/fceugx
|
|
|
|
mkdir -p dist/FCEUltraGX/fceugx/roms
|
|
|
|
mkdir dist/FCEUltraGX/fceugx/cheats
|
|
|
|
mkdir dist/FCEUltraGX/fceugx/saves
|
|
|
|
mkdir dist/FCEUltraGX-GameCube/
|
|
|
|
cp hbc/* dist/FCEUltraGX/apps/fceugx/
|
|
|
|
cp executables/fceugx-wii.dol dist/FCEUltraGX/apps/fceugx/boot.dol
|
|
|
|
cp executables/fceugx-gc.dol dist/FCEUltraGX-GameCube/
|
2020-07-21 23:11:13 +02:00
|
|
|
|
2020-10-25 17:20:15 +01:00
|
|
|
- name: Upload Wii Build Artifacts
|
2020-07-21 23:11:13 +02:00
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
2020-10-25 17:20:15 +01:00
|
|
|
name: FCEUltraGX-Nightly
|
|
|
|
path: |
|
2020-10-25 12:30:41 -06:00
|
|
|
dist/FCEUltraGX/
|
2020-10-25 17:20:15 +01:00
|
|
|
|
|
|
|
- name: Upload GameCube Build Artifacts
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: FCEUltraGX-Nightly-GameCube
|
|
|
|
path: |
|
2020-10-25 12:30:41 -06:00
|
|
|
dist/FCEUltraGX-GameCube/
|