toaruos/.before_script.sh

23 lines
478 B
Bash
Raw Normal View History

#!/bin/bash
# Travis before_script
unset CC
sudo mkdir -p /home/build/osdev/toolchain
2012-12-08 08:25:24 +04:00
sudo chmod a=rwx /home/build
sudo chmod a=rwx /home/build/osdev
sudo chmod a=rwx /home/build/osdev/toolchain
pushd toolchain
2012-12-08 08:25:24 +04:00
cp *.sh /home/build/osdev/toolchain/
popd
pushd /home/build/osdev/toolchain
2013-01-28 05:36:43 +04:00
wget "http://b.dakko.us/~klange/toolchain-2013-01-27.tar.gz"
tar -xaf "toolchain-2013-01-27.tar.gz"
. activate.sh || exit 1
2012-12-08 08:29:10 +04:00
echo $PATH
$TARGET-gcc --version
popd