-
Notifications
You must be signed in to change notification settings - Fork 7
73 lines (71 loc) · 2.24 KB
/
multi-region-tests.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Multi-Region Tests
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- container: wii_ntscu_10
iso: RZDE01.iso
platform: WII
region: NTSCU_10
dolphin_memory: "0x80537560"
iso_name: tpgzw.iso
- container: wii_ntscu_12
iso: RZDE01_2.iso
platform: WII
region: NTSCU_12
dolphin_memory: "0x8051d5e0"
iso_name: tpgzw.iso
- container: wii_pal
iso: RZDP01.iso
platform: WII
region: PAL
dolphin_memory: "0x8051DEE0"
iso_name: tpgzw.iso
- container: wii_ntscj
iso: RZDJ01.iso
platform: WII
region: NTSCJ
dolphin_memory: "0x8051b460"
iso_name: tpgzw.iso
- container: gcn_ntscu
iso: GZ2E01.iso
platform: GCN
region: NTSCU
dolphin_memory: "0x80450580"
iso_name: tpgz.iso
- container: gcn_pal
iso: GZ2P01.iso
platform: GCN
region: PAL
dolphin_memory: "0x80452540"
iso_name: tpgz.iso
- container: gcn_ntscj
iso: GZ2J01.iso
platform: GCN
region: NTSCJ
dolphin_memory: "0x8044A6C0"
iso_name: tpgz.iso
container:
image: ghcr.io/pheenoh/zsrtp-tpgz:${{ matrix.container }}
options: --shm-size=128m --ulimit core=-1 --privileged=true
name: ${{ matrix.platform }}-${{ matrix.region }} Test
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Move ISO
run: mkdir -p ./isos/ && mv /${{ matrix.iso }} ./isos/${{ matrix.iso }}
- name: Compiler Test
run: |
mkdir build && cd build && cmake .. -DPR_TEST=1 -DPLATFORM=${{ matrix.platform }} -DREGION=${{ matrix.region }} && make -j$(nproc) iso && cd ..
- name: Boot Dolphin
run: |
dolphin-emu-nogui --platform=headless --video_backend=Null -e build/${{ matrix.iso_name }} &
sleep 15
/dme -c ${{ matrix.dolphin_memory }}