mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2024-11-21 23:59:18 +01:00
Add GitHub CI
This commit is contained in:
parent
5f2414755e
commit
2d2592a890
42
.github/workflows/main.yml
vendored
Normal file
42
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
name: Build binaries
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
- '.github/FUNDING.yml'
|
||||
- '.github/**/*.md'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
- '.github/FUNDING.yml'
|
||||
- '.github/**/*.md'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container: devkitpro/devkitppc:20230110
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Compile
|
||||
run: make
|
||||
|
||||
- name: Package
|
||||
run: |
|
||||
mkdir -p upload/apps/yawmME
|
||||
cp boot.dol upload/apps/yawmME
|
||||
cp boot.elf upload/apps/yawmME/yawmME_boot.elf
|
||||
cp yawmME/icon.png upload/apps/yawmME
|
||||
cp yawmME/meta.xml upload/apps/yawmME
|
||||
echo "sha=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: yawmME-${{ env.sha }}
|
||||
path: upload
|
19
.gitignore
vendored
19
.gitignore
vendored
@ -1,9 +1,10 @@
|
||||
################################################################################
|
||||
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
|
||||
################################################################################
|
||||
|
||||
/.vs
|
||||
/source/boot/build/appboot.elf.map
|
||||
/source/boot/build
|
||||
/source/boot/appboot.elf
|
||||
/source/boot/appboot.dol
|
||||
*.bat
|
||||
*.dol
|
||||
*.elf
|
||||
*.exe
|
||||
.vs/
|
||||
.vscode/
|
||||
build/
|
||||
source/boot/build/
|
||||
/yawmME.zip
|
||||
/wiiload
|
||||
|
2
Makefile
2
Makefile
@ -18,7 +18,7 @@ include $(DEVKITPPC)/wii_rules
|
||||
# SOURCES is a list of directories containing source code
|
||||
# INCLUDES is a list of directories containing extra header files
|
||||
#---------------------------------------------------------------------------------
|
||||
TARGET := $(notdir $(CURDIR))
|
||||
TARGET := boot
|
||||
BUILD := build
|
||||
SOURCES := source include source/libtinysmb source/libpng source/libpng/pngu
|
||||
DATA := data
|
||||
|
Loading…
Reference in New Issue
Block a user