mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-05-03 13:30:44 +00:00
7f3bcc66fa
* ci: build FreeBSD and NetBSD using cross * hmmm * try another cross version? * add netbsd Cross.toml config * hmmmm * hmmmmm * hmmmmmm * try this * add todo * add another todo
8 lines
618 B
TOML
8 lines
618 B
TOML
[build.env]
|
|
passthrough = ["RUST_BACKTRACE", "BTM_GENERATE"]
|
|
|
|
[target.x86_64-unknown-netbsd]
|
|
pre-build = [
|
|
"apt-get update && apt-get install -y --no-install-recommends curl xz-utils && td=$(mktemp -d) && mkdir -p \"$td/netbsd\" && curl -4 --retry 3 -sSfL 'http://ftp.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/base.tar.xz' | tar -C \"$td/netbsd\" -xJ ./usr/lib ./lib && curl -4 --retry 3 -sSfL 'http://ftp.netbsd.org/pub/NetBSD/NetBSD-9.3/amd64/binary/sets/comp.tar.xz' | tar -C \"$td/netbsd\" -xJ ./usr/lib && cp \"$td\"/netbsd/usr/lib/libkvm* /usr/local/x86_64-unknown-netbsd/lib/ && rm -rf \"$td\"",
|
|
]
|