Commit ddafa605 authored by Heiko Becker's avatar Heiko Becker

Next iteration on ci script

parent fb68d0ce
......@@ -8,31 +8,23 @@ then
sleep 5
#Set HOL4 commit variable
HOLCOMMIT="$(cat ./.HOLCOMMIT)"
pushd
HOLCOMMIT="$(cat ./hol4/.HOLCOMMIT)"
pushd ./
cd ~/
git clone https://github.com/HOL-Theorem-Prover/HOL.git HOL4
cd HOL4
git checkout $HOLCOMMIT
poly < tools/smart-configure.sml
bin/build
export HOLDIR=~/HOL4/
popd
fi
cd ./hol4
#Run configure script to check the versions
./configure_hol.sh
RET=$?
if [ $RET -eq 1 ];
then
echo "Updating HOL4 to the latest state specified in HOLCOMMIT"
./configure_hol.sh --init
else
echo "Downloading CakeML"
git submodule init cakeml
git submodule update -f cakeml
fi
echo "Downloading CakeML"
git submodule init cakeml
git submodule update -f cakeml
$HOLDIR/bin/Holmake -q
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment