mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-28 13:34:21 +01:00
d1dd578f47
This changes the following: - Uploads a separate Wii and Gamecube artifact - Excludes uploading the elf files - Creates the complete Wii structure under executables/Snes9xGX - Creates the complete GameCube structure under executables/Snes9xGX-GameCube - Doesn't upload empty folders like the snes9xgx folder with cheats, roms and saves but it is created in a local environment
42 lines
1014 B
YAML
42 lines
1014 B
YAML
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
|
|
|
|
- name: Copy files
|
|
run: |
|
|
cp -f hbc/* executables/Snes9xGX/apps/snes9xgx/
|
|
cp -f hbc/* executables/Snes9xGX-GameCube/
|
|
cp -f README.md executables/Snes9xGX/apps/snes9xgx/
|
|
cp -f README.md executables/Snes9xGX-GameCube/
|
|
|
|
- name: Upload Wii Build Artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Snes9xGX-Nightly
|
|
path: |
|
|
executables/Snes9xGX/
|
|
!executables/Snes9xGX/apps/snes9xgx/*.elf
|
|
|
|
- name: Upload GameCube Build Artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Snes9xGX-Nightly-GameCube
|
|
path: |
|
|
executables/Snes9xGX-GameCube/
|
|
!executables/Snes9xGX-GameCube/*.elf
|