Commit ddafa605 authored by Heiko Becker's avatar Heiko Becker

Next iteration on ci script

parent fb68d0ce
...@@ -8,31 +8,23 @@ then ...@@ -8,31 +8,23 @@ then
sleep 5 sleep 5
#Set HOL4 commit variable #Set HOL4 commit variable
HOLCOMMIT="$(cat ./.HOLCOMMIT)" HOLCOMMIT="$(cat ./hol4/.HOLCOMMIT)"
pushd pushd ./
cd ~/ cd ~/
git clone https://github.com/HOL-Theorem-Prover/HOL.git HOL4 git clone https://github.com/HOL-Theorem-Prover/HOL.git HOL4
cd HOL4 cd HOL4
git checkout $HOLCOMMIT git checkout $HOLCOMMIT
poly < tools/smart-configure.sml poly < tools/smart-configure.sml
bin/build bin/build
export HOLDIR=~/HOL4/
popd popd
fi fi
cd ./hol4 cd ./hol4
#Run configure script to check the versions
./configure_hol.sh
RET=$?
if [ $RET -eq 1 ]; echo "Downloading CakeML"
then git submodule init cakeml
echo "Updating HOL4 to the latest state specified in HOLCOMMIT" git submodule update -f cakeml
./configure_hol.sh --init
else
echo "Downloading CakeML"
git submodule init cakeml
git submodule update -f cakeml
fi
$HOLDIR/bin/Holmake -q $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