mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-27 07:14:18 +08:00
relibc-tests: convert to toml
This commit is contained in:
parent
7aba4e66cb
commit
5e756a5de8
@ -1,13 +0,0 @@
|
||||
GIT=https://gitlab.redox-os.org/redox-os/relibc.git
|
||||
|
||||
function recipe_build {
|
||||
"$REDOX_MAKE" NATIVE_RELIBC=1 -C tests -j"$($NPROC)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
mkdir -pv "$dest/share/relibc"
|
||||
cp -rv "tests" "$dest/share/relibc/tests"
|
||||
skip=1
|
||||
}
|
||||
16
recipes/relibc-tests/recipe.toml
Normal file
16
recipes/relibc-tests/recipe.toml
Normal file
@ -0,0 +1,16 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/relibc.git"
|
||||
branch = "master"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
pushd tests
|
||||
export CARGO_TEST="${COOKBOOK_CARGO}"
|
||||
export NATIVE_RELIBC=1
|
||||
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" all bins_verify/relibc-tests
|
||||
popd
|
||||
mkdir -pv "${COOKBOOK_STAGE}/share/relibc"
|
||||
cp -rv "tests" "${COOKBOOK_STAGE}/share/relibc/tests"
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user