Commit 99478b5d authored by Mulas, Giacomo's avatar Mulas, Giacomo
Browse files

Added compile tests in pipeline with other GNU and CLANG compilers

parent 258d046d
Loading
Loading
Loading
Loading
+14 −2
Original line number Original line Diff line number Diff line
@@ -46,8 +46,20 @@ building_stage:
      - echo "Getting system info ..."
      - echo "Getting system info ..."
      - cat /etc/os-release
      - cat /etc/os-release
      - cd src
      - cd src
      - echo "Running make ..."
      - echo "Running make with default compilers..."
      - make -j
      - make wipe && make -j
      - echo "Running make with gnu compilers version 11..."
      - make wipe && CXX=g++-11 FC=gfortran-11 make -j
      - echo "Running make with gnu compilers version 12..."
      - make wipe && CXX=g++-12 FC=gfortran-12 make -j
      - echo "Running make with gnu fortran version 12 and clang version 13..."
      - make wipe && CXX="clang++-13 -stdlib=libc++" FC=gfortran-12 make -j
      - echo "Running make with gnu fortran version 12 and clang version 14..."
      - make wipe && CXX="clang++-14 -stdlib=libc++" FC=gfortran-12 make -j
      - echo "Running make with gnu fortran version 12 and clang version 15..."
      - make wipe && CXX="clang++-15 -stdlib=libc++" FC=gfortran-12 make -j
      - echo "Running make with gnu fortran version 12 and clang version 16..."
      - make wipe && CXX="clang++-16 -stdlib=libc++" FC=gfortran-12 make -j
      - make docs -j && make -C ../doc/build/latex -j
      - make docs -j && make -C ../doc/build/latex -j


running_stage:
running_stage: