2020-07-21 23:10:14 +02:00
|
|
|
name: Snes9x GX Build
|
|
|
|
|
|
|
|
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:19:32 +01:00
|
|
|
|
|
|
|
- name: Copy files
|
|
|
|
run: |
|
2020-10-25 18:57:36 +01:00
|
|
|
mkdir -p dist/Snes9xGX/apps/snes9xgx
|
|
|
|
mkdir -p dist/Snes9xGX/snes9xgx/roms
|
|
|
|
mkdir dist/Snes9xGX/snes9xgx/cheats
|
|
|
|
mkdir dist/Snes9xGX/snes9xgx/saves
|
|
|
|
mkdir dist/Snes9xGX-GameCube/
|
|
|
|
cp hbc/* dist/Snes9xGX/apps/snes9xgx/
|
|
|
|
cp executables/snes9xgx-wii.dol dist/Snes9xGX/apps/snes9xgx/boot.dol
|
|
|
|
cp executables/snes9xgx-gc.dol dist/Snes9xGX-GameCube/
|
2020-07-21 23:10:14 +02:00
|
|
|
|
2020-10-25 17:19:32 +01:00
|
|
|
- name: Upload Wii Build Artifacts
|
2020-07-21 23:10:14 +02:00
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
2020-10-25 18:57:36 +01:00
|
|
|
name: Snes9xGX
|
2020-10-25 17:19:32 +01:00
|
|
|
path: |
|
2020-10-25 18:57:36 +01:00
|
|
|
dist/Snes9xGX/
|
2020-10-25 17:19:32 +01:00
|
|
|
|
|
|
|
- name: Upload GameCube Build Artifacts
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
2020-10-25 18:57:36 +01:00
|
|
|
name: Snes9xGX-GameCube
|
2020-10-25 17:19:32 +01:00
|
|
|
path: |
|
2020-10-25 18:57:36 +01:00
|
|
|
dist/Snes9xGX-GameCube/
|