Set TMPDIR during CI

This commit is contained in:
2020-05-01 16:27:27 +02:00
parent d2b280da2d
commit ee34d85dbc
5 changed files with 11 additions and 3 deletions

View File

@@ -2,11 +2,13 @@
set -eux
. "$( cd "$(dirname "$0")" ; pwd -P )/../../ghcup_env"
mkdir -p "${TMPDIR}"
sudo apt-get update -y
sudo apt-get install -y libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev git wget
. "$( cd "$(dirname "$0")" ; pwd -P )/../../ghcup_env"
curl -sSfL https://downloads.haskell.org/~ghcup/x86_64-linux-ghcup > ./ghcup-bin
chmod +x ghcup-bin