-
Notifications
You must be signed in to change notification settings - Fork 3
78 lines (66 loc) · 2.06 KB
/
demos-unstable.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
74
75
76
77
78
on: [push]
name: fox32 demos buildtest
jobs:
demos-unstable:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download latest fox32asm artifact
uses: dawidd6/action-download-artifact@v2
with:
repo: fox32-arch/fox32asm
workflow: fox32asm-unstable-linux.yml
workflow_conclusion: success
- name: Download latest fox32rom artifact
uses: dawidd6/action-download-artifact@v2
with:
repo: fox32-arch/fox32rom
workflow: fox32rom-unstable.yml
workflow_conclusion: success
- name: Download latest fox32os artifact
uses: dawidd6/action-download-artifact@v2
with:
repo: fox32-arch/fox32os
workflow: fox32os-unstable.yml
workflow_conclusion: success
- name: Download RYFS tools
uses: actions/checkout@v3
with:
repository: ry755/ryfs
path: ryfs
- name: Build
run: |
mkdir ../fox32rom ../fox32os
cp fox32rom.def/fox32rom.def ../fox32rom
cp fox32os.def/fox32os.def ../fox32os
chmod +x fox32asm/fox32asm
make FOX32ASM=fox32asm/fox32asm RYFS=ryfs/ryfs.py
- name: Install libsdl2
run: |
sudo apt update
sudo apt install -y libsdl2-2.0-0
- name: Download latest fox32 artifact
uses: dawidd6/action-download-artifact@v2
with:
repo: fox32-arch/fox32
workflow: fox32-unstable-linux.yml
workflow_conclusion: success
- name: Run CPU test
run: |
chmod +x fox32/fox32
make test FOX32=fox32/fox32 FOX32OS_IMG=fox32os.img/fox32os.img
- name: Upload demos
uses: actions/upload-artifact@v3
with:
name: demos
path: |
demos/*/*.fxf
demos.img
- name: Upload cputest
uses: actions/upload-artifact@v3
with:
name: cputest
path: |
cputest/cputest.bin
cputest/cputest.fxf