toaruos/.before_script.sh
2013-01-27 17:36:43 -08:00

23 lines
478 B
Bash
Executable File

#!/bin/bash
# Travis before_script
unset CC
sudo mkdir -p /home/build/osdev/toolchain
sudo chmod a=rwx /home/build
sudo chmod a=rwx /home/build/osdev
sudo chmod a=rwx /home/build/osdev/toolchain
pushd toolchain
cp *.sh /home/build/osdev/toolchain/
popd
pushd /home/build/osdev/toolchain
wget "http://b.dakko.us/~klange/toolchain-2013-01-27.tar.gz"
tar -xaf "toolchain-2013-01-27.tar.gz"
. activate.sh || exit 1
echo $PATH
$TARGET-gcc --version
popd