forked from Omega-Numworks/Omega-External
-
Notifications
You must be signed in to change notification settings - Fork 25
166 lines (153 loc) · 9.14 KB
/
ci-workflow.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
name: Continuous integration
#on: [pull_request, push]
on:
push:
pull_request:
workflow_dispatch:
jobs:
KhiCAS:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
- uses: actions/checkout@v1
with:
submodules: true
- run: make -C apps/KhiCAS cleanall
- run: make KhiCAS_rebuild
- run: ./tool/archive KhiCAS.tar KhiCAS
- uses: actions/upload-artifact@master
with:
name: KhiCAS
path: KhiCAS.tar
BadApple:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
- uses: actions/checkout@v1
with:
submodules: true
- run: make BadApple_rebuild
- run: ./tool/archive BadApple.tar BadApple
- uses: actions/upload-artifact@master
with:
name: BadApple
path: BadApple.tar
CHIP-8:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
- uses: actions/checkout@v1
with:
submodules: true
- run: make CHIP-8_rebuild
- run: ./tool/archive CHIP-8.tar CHIP-8
- uses: actions/upload-artifact@master
with:
name: CHIP-8
path: CHIP-8.tar
Example:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
- uses: actions/checkout@v1
with:
submodules: true
- run: make Example_rebuild
- run: ./tool/archive Example.tar Example
- uses: actions/upload-artifact@master
with:
name: Example
path: Example.tar
Example-Cpp:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
- uses: actions/checkout@v1
with:
submodules: true
- run: make Example-Cpp_rebuild
- run: ./tool/archive Example-Cpp.tar Example-Cpp
- uses: actions/upload-artifact@master
with:
name: Example-Cpp
path: Example-Cpp.tar
Flash2Ram:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
- uses: actions/checkout@v1
with:
submodules: true
- run: make Flash2Ram_rebuild
- run: ./tool/archive Flash2Ram.tar Flash2Ram
- uses: actions/upload-artifact@master
with:
name: Flash2Ram
path: Flash2Ram.tar
HexEdit:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
- uses: actions/checkout@v1
with:
submodules: true
- run: make HexEdit_rebuild
- run: ./tool/archive HexEdit.tar HexEdit
- uses: actions/upload-artifact@master
with:
name: HexEdit
path: HexEdit.tar
Nofrendo:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
- uses: actions/checkout@v1
with:
submodules: true
- run: make Nofrendo_rebuild
- run: ./tool/archive Nofrendo.tar Nofrendo
- uses: actions/upload-artifact@master
with:
name: Nofrendo
path: Nofrendo.tar
Peanut-GB:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
- uses: actions/checkout@v1
with:
submodules: true
- run: make Peanut-GB_rebuild
- run: ./tool/archive Peanut-GB.tar Peanut-GB
- uses: actions/upload-artifact@master
with:
name: Peanut-GB
path: Peanut-GB.tar
Periodic:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
- uses: actions/checkout@v1
with:
submodules: true
- run: make Periodic_rebuild
- run: ./tool/archive Periodic.tar Periodic
- uses: actions/upload-artifact@master
with:
name: Periodic
path: Periodic.tar
UnitCircle:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install wget gdb gcc g++ libgmp-dev libmpfr-dev libmpfi-dev libpari-dev libgsl0-dev libxext-dev libpng-dev libjpeg-dev libreadline-dev libncurses5-dev mesa-common-dev libx11-dev libxt-dev libxft-dev libntl-dev libgl1-mesa-dev libgl-dev libao-dev hevea debhelper libfltk1.3-dev build-essential git imagemagick libx11-dev libxext-dev libfreetype6-dev libpng-dev libjpeg-dev pkg-config gcc-arm-none-eabi binutils-arm-none-eabi dfu-util texinfo autoconf-archive -y
- uses: actions/checkout@v1
with:
submodules: true
- run: make UnitCircle_rebuild
- run: ./tool/archive UnitCircle.tar UnitCircle
- uses: actions/upload-artifact@master
with:
name: UnitCircle
path: UnitCircle.tar
env:
ACCEPT_OFFICIAL_TOS: 1