]>
git.proxmox.com Git - cargo.git/blob - vendor/backtrace/ci/run-docker.sh
1 # Small script to run tests for a target (or all targets) inside all the
2 # respective docker images.
7 docker build
-t backtrace
-f ci
/docker
/$1/Dockerfile ci
10 --user `id -u`:`id -g` \
13 --volume $
(dirname $
(dirname `which cargo`)):/cargo \
14 --env CARGO_HOME
=/cargo \
15 --volume `rustc --print sysroot`:/rust
:ro \
17 --volume `pwd`:/checkout
:ro \
18 --volume `pwd`/target
:/checkout
/target \
23 -c 'PATH=$PATH:/rust/bin exec ci/run.sh'
27 for d
in `ls ci/docker/`; do