]> git.lizzy.rs Git - rust.git/commitdiff
Update CI configuration for building Redox libraries
authorJeremy Soller <jeremy@system76.com>
Sun, 17 Mar 2019 14:04:57 +0000 (08:04 -0600)
committerJeremy Soller <jeremy@system76.com>
Sun, 17 Mar 2019 14:04:57 +0000 (08:04 -0600)
src/ci/docker/disabled/dist-x86_64-redox/Dockerfile
src/ci/docker/dist-various-1/install-x86_64-redox.sh

index f4c25f791bc3916bdf60be34aa927ae6b8ea88f5..11a3acd68e3e8c19e3aac3cc9f46ecf1aba66fe7 100644 (file)
@@ -7,8 +7,8 @@ COPY scripts/crosstool-ng.sh /scripts/
 RUN sh /scripts/crosstool-ng.sh
 
 WORKDIR /tmp
-COPY cross/install-x86_64-redox.sh /tmp/
-RUN ./install-x86_64-redox.sh
+COPY dist-various-1/install-x86_64-redox.sh /scripts/
+RUN sh /scripts/install-x86_64-redox.sh
 
 COPY scripts/sccache.sh /scripts/
 RUN sh /scripts/sccache.sh
index c39be14941c90f0f6952f738db0e4786ca0e4507..67c2c633cf3131d5b646d0662438043665bbd2f6 100755 (executable)
@@ -3,11 +3,5 @@
 
 set -ex
 
-apt-get update
-apt-get install -y --no-install-recommends software-properties-common apt-transport-https
-
-apt-key adv --batch --yes --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AA12E97F0881517F
-add-apt-repository -y 'deb https://static.redox-os.org/toolchain/apt /'
-
-apt-get update
-apt-get install -y x86-64-unknown-redox-gcc
+wget -O - https://static.redox-os.org/toolchain/x86_64-unknown-redox/relibc-install.tar.gz | \
+tar --extract --gzip --directory /usr/local