-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (27 loc) · 947 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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@v4
- name: Update packages
run: bash ./.github/workflows/update.sh
- name: Build application
run: |
/opt/devkitpro/portlibs/wiiu/bin/powerpc-eabi-cmake -B $GITHUB_WORKSPACE/build
cmake --build $GITHUB_WORKSPACE/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@v4
with:
name: MiisendU-Wii-U
path: artifact/