Skip to content
Snippets Groups Projects

Build with GNU Makefile

Merged Mark Meredith requested to merge (removed):gnumakefile into main
+ 11
5
@@ -24,7 +24,10 @@ build-img:
needs: ['build-img']
script:
- conan install -if build -g cmake_find_package catch2/2.13.7@
- if [ "$ENABLE_CGAL" == "ON" ]; then conan install -if build -g cmake_find_package cgal/5.2.1@; fi
- |
if [ "$ENABLE_CGAL" == "ON" ]; then
conan install -if build -g deploy cgal/5.2.1@
fi
- conan install -if build -g cmake_find_package taocpp-pegtl/3.2.1@
- cmake -S.
@@ -70,13 +73,16 @@ spack:no_cgal:
NO_CSG: "~cgal"
<<: *spack_def
.test:gnumake: &spack_def
.test:gnumake: &gnumake_def
stage: test
image: $CI_REGISTRY_IMAGE:latest
needs: ['build-img']
script:
- conan install -if build -g deploy catch2/2.13.7@
- if [ "$ENABLE_CGAL" == "ON" ]; then conan install -if build -g deploy cgal/5.2.1@; fi
- |
if [ "$ENABLE_CGAL" == "ON" ]; then
conan install -if build -g deploy cgal/5.2.1@
fi
- conan install -if build -g deploy taocpp-pegtl/3.2.1@
- make install BOOST_HOME=build/boost CATCH2_HOME=build/catch2 CGAL_HOME=build/cgal PEGTL_HOME=build/taocpp-pegtl DESTDIR=install_destination
tags:
@@ -85,7 +91,7 @@ spack:no_cgal:
gnumake:cgal:
variables:
ENABLE_CGAL: "ON"
<<: *spack_def
<<: *gnumake_def
gnumake:no_cgal:
<<: *spack_def
<<: *gnumake_def
Loading