aboutsummaryrefslogtreecommitdiff
path: root/ci/before_deploy.sh
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/before_deploy.sh
parent77f2d6e853f1ad54e6dc844a811b78daeb463e76 (diff)
downloadr-alacritty-73c7f0c48d32ab5dc4b50e14e875306f4ddb6545.tar.gz
r-alacritty-73c7f0c48d32ab5dc4b50e14e875306f4ddb6545.tar.bz2
r-alacritty-73c7f0c48d32ab5dc4b50e14e875306f4ddb6545.zip
Remove prebuilt linux binaries
Fixes #3628.
Diffstat (limited to 'ci/before_deploy.sh')
-rwxr-xr-xci/before_deploy.sh32
1 files changed, 0 insertions, 32 deletions
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