Skip to content

Commit

Permalink
Test Julia GC integration on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Oct 8, 2018
1 parent daa8c24 commit 49240e6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ matrix:
# test libgap
- env: TEST_SUITES="testlibgap"

# test Julia integration
- env: TEST_SUITES="testinstall" JULIA=yes


script:
- gcov --version
- bash etc/ci-prepare.sh && bash etc/ci.sh
Expand Down
15 changes: 15 additions & 0 deletions etc/ci-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@ then
CONFIGFLAGS="$CONFIGFLAGS --enable-hpcgap"
fi


if [[ $JULIA = yes ]]
then
wget https://julialangnightlies-s3.julialang.org/bin/linux/x64/julia-latest-linux64.tar.gz
tar xvf julia-latest-linux64.tar.gz
rm julia-latest-linux64.tar.gz
pushd julia-*
JULIA_PATH=$(pwd)
popd
CONFIGFLAGS="$CONFIGFLAGS --with-gc=julia --with-julia=$JULIA_PATH"
# HACK to workaround some weirdness with that Julia not finding its libLLVM
CONFIGFLAGS="$CONFIGFLAGS LDFLAGS=-Wl,-rpath,$JULIA_PATH/lib/julia"
fi


# configure and make GAP
"$SRCDIR/configure" $CONFIGFLAGS --enable-Werror
make V=1 -j4
Expand Down

0 comments on commit 49240e6

Please sign in to comment.