GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — hdslaveOS/build.sh at hdslave · hdslave/hdslaveOS

Expand file tree

/

build.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
23 lines (23 loc) · 1.82 KB
/

build.sh

Copy path

File metadata and controls

executable file
·
23 lines (23 loc) · 1.82 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright (C) 2026 Kerem Kilic (Ellic Studio)
# Build Melodee for the MPC Sample (linux/arm64) in its build image (the base's
# plus tools/plugin_support/Dockerfile),
# and the stem separator beside it (make stems, tools/stems/build.py),
# then run the tests, the sound self-test, the monkey test (random hands on every
# control, src/melodee/monkey.cpp), the page previews (and that the HDSLAVE flare
# decodes), the boot film (it fails when its frames do not decode) and the screensaver (it fails when the
# hdslaveOS name does not draw).
set -eu
cd "$(dirname "$0")"
[ -f base/base.mk ] && [ -f core/core.mk ] || git submodule update --init
python3 tools/dependencies.py
# The version the Credits page shows: ./release.sh names it, else git describe.
MELODEE_VERSION=$(printf %s "${MELODEE_VERSION:-$(git describe --tags --always --dirty 2>/dev/null || echo dev)}" | tr -cd 'A-Za-z0-9._+-')
export MELODEE_VERSION
docker build --platform linux/arm64 -t sample-base-builder base/tools
# Melodee's own image on top: the plug-in support pack's cross compiler and GUI libraries.
docker build --platform linux/arm64 -t melodee-builder tools/plugin_support
# The engine tests keep whole projects on the stack: more than the 8 MB a container gets by default.
docker run --rm --platform linux/arm64 --ulimit stack=268435456:268435456 -v "$PWD:/work" -e MELODEE_VERSION melodee-builder \
sh -c 'make -j4 && make stems && python3 -m unittest discover -s tests -v && python3 -m unittest discover -s core/tests -v && build/melodee --self-test build/test.wav && build/melodee --melodee-monkey && mkdir -p build/melodee-preview && build/melodee --melodee-preview build/melodee-preview && mkdir -p build/boot && build/melodee --melodee-boot build/boot && mkdir -p build/saver && build/melodee --melodee-saver build/saver'
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.