Skip to content

Use cmake instead of make #81

Use cmake instead of make

Use cmake instead of make #81

Workflow file for this run

name: Continuous Integration
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
container:
image: devkitpro/devkitppc:latest
steps:
- name: Checkout the Git repository
uses: actions/checkout@v3
- name: Update packages
run: bash ./.github/workflows/update.sh
- name: Build application
run: |
mkdir --parents build
/opt/devkitpro/portlibs/wiiu/bin/powerpc-eabi-cmake -B build
cmake --build build -j $(nproc)
- name: Prepare artifact
run: |
mkdir --parents artifact/MiisendU-Wii-U
mv --verbose build/MiisendU-Wii-U.rpx artifact/MiisendU-Wii-U/MiisendU-Wii-U.rpx
mv --verbose build/MiisendU-Wii-U.wuhb artifact/MiisendU-Wii-U/MiisendU-Wii-U.wuhb
cp --verbose meta/* artifact/MiisendU-Wii-U
- uses: actions/upload-artifact@v3
with:
name: MiisendU-Wii-U
path: artifact/