snes9xgx/.github/workflows/continuous-integration-workflow.yml
bladeoner d1dd578f47
Refactor make files and change artifact output (#949)
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
2020-10-25 10:19:32 -06:00

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