Add recipe for os-test-relibc repo

This commit is contained in:
Wildan M 2025-12-19 22:28:35 +07:00
parent 975f630108
commit 29bf516500
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -0,0 +1,18 @@
# Must be run on host: "make r.host:os-test-result"
[source]
git = "https://gitlab.redox-os.org/redox-os/os-test-relibc"
script = """
# update automatically
cd relibc && git pull origin master
"""
[build]
template = "custom"
script = """
rsync -a --delete "${COOKBOOK_SOURCE}/" ./
mkdir -p {COOKBOOK_STAGE}/share/os-test
./linux.sh
mv os-test/html ${COOKBOOK_STAGE}/share/os-test/html
mv os-test/out ${COOKBOOK_STAGE}/share/os-test/out
mv os-test/os-test.json ${COOKBOOK_STAGE}/share/os-test/os-test.json
"""