-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathlinux.py
More file actions
executable file
·38 lines (29 loc) · 967 Bytes
/
linux.py
File metadata and controls
executable file
·38 lines (29 loc) · 967 Bytes
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
#!/usr/bin/env python3
from software.glfw import GLFW
from software.sdl import SDL
from software.openal import OpenAL
from software.fluidsynth import Fluidsynth
from common import Github, dump_build_notes, filter_software_to_build, ARTIFACT_DIR, ROOT_DIR
from common.software import SoftwareImpl
from common.args import parse_args
from common.linux import separate_debug_info
if __name__ == "__main__":
args = parse_args()
to_build: list[SoftwareImpl] = [
GLFW,
SDL,
OpenAL,
Fluidsynth,
]
build_softwares = filter_software_to_build(to_build, args)
for build in build_softwares:
with Github.LogGroup(f"Building {build.name}"):
build.build()
build.publish()
separate_debug_info(build)
dump_build_notes(
"native-build (Linux)",
ROOT_DIR,
ARTIFACT_DIR.joinpath("notes.md"),
[f"- {build.name}" for build in build_softwares],
)