summaryrefslogtreecommitdiffstats
path: root/ci/before_install.sh
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-08-05 16:34:22 -0400
committerDan Davison <dandavison7@gmail.com>2020-08-05 16:37:09 -0400
commitcfd6ed0e077f3667b036902516a0348b1c596441 (patch)
tree678a5bf6ad901fc269a4315dfb7267c8339489a6 /ci/before_install.sh
parent2da099e53d5c0a7597757bca5b53bbef5d449e8b (diff)
Reorganize
Diffstat (limited to 'ci/before_install.sh')
-rwxr-xr-xci/before_install.sh37
1 files changed, 0 insertions, 37 deletions
diff --git a/ci/before_install.sh b/ci/before_install.sh
deleted file mode 100755
index 9acf6025..00000000
--- a/ci/before_install.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/env bash
-
-set -ex
-
-if [ "$TRAVIS_OS_NAME" != linux ]; then
- exit 0
-fi
-
-sudo apt-get update
-
-# needed for musl targets
-sudo apt-get install -y musl-tools
-
-# needed to build deb packages
-sudo apt-get install -y fakeroot
-
-# needed for i686 linux gnu target
-if [[ $TARGET == i686-unknown-linux-gnu ]]; then
- sudo apt-get install -y gcc-multilib
-fi
-
-# needed for cross-compiling for arm
-if [[ $TARGET == arm-unknown-linux-gnueabihf ]]; then
- sudo apt-get install -y \
- gcc-4.8-arm-linux-gnueabihf \
- binutils-arm-linux-gnueabihf \
- libc6-armhf-cross \
- libc6-dev-armhf-cross
-fi
-
-# needed for cross-compiling for arm64
-if [[ $TARGET == aarch64-unknown-linux-gnu ]]; then
- sudo apt-get install -y \
- gcc-4.8-aarch64-linux-gnu \
- binutils-aarch64-linux-gnu \
- gcc-aarch64-linux-gnu
-fi