File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ run() {
28
28
echo " Building docker container for target ${1} "
29
29
30
30
# use -f so we can use ci/ as build context
31
- docker build -t libc -f " ci/docker/${1} /Dockerfile" ci/
31
+ docker build -t " libc- ${1} " -f " ci/docker/${1} /Dockerfile" ci/
32
32
mkdir -p target
33
33
if [ -w /dev/kvm ]; then
34
34
kvm=" --volume /dev/kvm:/dev/kvm"
@@ -50,15 +50,15 @@ run() {
50
50
$kvm \
51
51
--init \
52
52
--workdir /checkout \
53
- libc \
53
+ " libc- ${1} " \
54
54
sh -c " HOME=/tmp PATH=\$ PATH:/rust/bin exec ci/run.sh ${1} "
55
55
}
56
56
57
57
build_switch () {
58
58
echo " Building docker container for target switch"
59
59
60
60
# use -f so we can use ci/ as build context
61
- docker build -t libc -f " ci/docker/switch/Dockerfile" ci/
61
+ docker build -t libc-switch -f " ci/docker/switch/Dockerfile" ci/
62
62
mkdir -p target
63
63
if [ -w /dev/kvm ]; then
64
64
kvm=" --volume /dev/kvm:/dev/kvm"
@@ -82,7 +82,7 @@ build_switch() {
82
82
$kvm \
83
83
--init \
84
84
--workdir /checkout \
85
- libc \
85
+ libc-switch \
86
86
sh -c " HOME=/tmp RUSTUP_HOME=/tmp PATH=\$ PATH:/rust/bin rustup default nightly \
87
87
&& rustup component add rust-src --target ci/switch.json \
88
88
&& cargo build -Z build-std=core,alloc --target ci/switch.json"
You can’t perform that action at this time.
0 commit comments