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