aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-05-12 15:18:37 +0000
committerGitHub <noreply@github.com>2020-05-12 15:18:37 +0000
commit73c7f0c48d32ab5dc4b50e14e875306f4ddb6545 (patch)
tree0c513882d279d216d622d7ad8233a1c9124e07c9 /ci
parent77f2d6e853f1ad54e6dc844a811b78daeb463e76 (diff)
downloadalacritty-73c7f0c48d32ab5dc4b50e14e875306f4ddb6545.tar.gz
alacritty-73c7f0c48d32ab5dc4b50e14e875306f4ddb6545.zip
Remove prebuilt linux binaries
Fixes #3628.
Diffstat (limited to 'ci')
-rw-r--r--ci/amd64/Dockerfile9
-rwxr-xr-xci/before_deploy.sh32
-rw-r--r--ci/i386/Dockerfile10
3 files changed, 0 insertions, 51 deletions
diff --git a/ci/amd64/Dockerfile b/ci/amd64/Dockerfile
deleted file mode 100644
index a3cef725..00000000
--- a/ci/amd64/Dockerfile
+++ /dev/null
@@ -1,9 +0,0 @@
-FROM ubuntu:latest
-
-ENV USER root
-
-RUN apt-get update && apt-get install -y cmake libfreetype6-dev libfontconfig1-dev curl python3 \
- libxcb-xfixes0-dev
-
-RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
-RUN /root/.cargo/bin/cargo install cargo-deb
diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh
index 23112e9d..c2a335e1 100755
--- a/ci/before_deploy.sh
+++ b/ci/before_deploy.sh
@@ -36,40 +36,8 @@ function osx {
&& mv "./target/release/osx/Alacritty.dmg" "./target/deploy/${name}.dmg"
}
-function debian {
- arch=$1
-
- docker pull "undeadleech/alacritty-ubuntu-${arch}" \
- && docker_tar "alacritty-ubuntu-${arch}" "ubuntu_18_04_${arch}" \
- && docker_deb "alacritty-ubuntu-${arch}" "ubuntu_18_04_${arch}" \
- && sudo chown -R $USER:$USER "./target"
-}
-
-function docker_tar {
- image=$1
- archname=$2
-
- docker run -v "$(pwd):/source" "undeadleech/${image}" \
- /root/.cargo/bin/cargo build --release --manifest-path /source/Cargo.toml
-
- tar -cvzf "./target/deploy/${name}-${archname}.tar.gz" -C "./target/release/" "alacritty"
-}
-
-function docker_deb {
- image=$1
- archname=$2
-
- docker run -v "$(pwd):/source" "undeadleech/${image}" sh -c \
- "cd /source && /root/.cargo/bin/cargo deb --no-build -p alacritty \
- --output ./target/deploy/${name}-${archname}.deb"
-}
-
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
osx || exit
-elif [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$ARCH" != "i386" ]; then
- debian "amd64" || exit
-elif [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$ARCH" == "i386" ]; then
- debian "i386" || exit
elif [ "$TRAVIS_OS_NAME" == "windows" ]; then
windows
fi
diff --git a/ci/i386/Dockerfile b/ci/i386/Dockerfile
deleted file mode 100644
index 6c53d14b..00000000
--- a/ci/i386/Dockerfile
+++ /dev/null
@@ -1,10 +0,0 @@
-FROM i386/ubuntu:latest
-
-ENV USER root
-
-RUN apt-get update && apt-get install -y cmake libfreetype6-dev libfontconfig1-dev curl python3 \
- libxcb-xfixes0-dev
-
-RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
-RUN /root/.cargo/bin/rustup default stable-i686-unknown-linux-gnu
-RUN /root/.cargo/bin/cargo install cargo-deb