Skip to content
Snippets Groups Projects
Select Git revision
  • 8464b1965cc69b3cff1f4dbebe2c607b8fbe70e7
  • develop default protected
  • feature/variational-hydro
  • feature/gmsh-reader
  • feature/reconstruction
  • save_clemence
  • origin/stage/bouguettaia
  • feature/kinetic-schemes
  • feature/local-dt-fsi
  • feature/composite-scheme-sources
  • feature/composite-scheme-other-fluxes
  • feature/serraille
  • feature/composite-scheme
  • hyperplastic
  • feature/polynomials
  • feature/gks
  • feature/implicit-solver-o2
  • feature/coupling_module
  • feature/implicit-solver
  • feature/merge-local-dt-fsi
  • master protected
  • v0.5.0 protected
  • v0.4.1 protected
  • v0.4.0 protected
  • v0.3.0 protected
  • v0.2.0 protected
  • v0.1.0 protected
  • Kidder
  • v0.0.4 protected
  • v0.0.3 protected
  • v0.0.2 protected
  • v0 protected
  • v0.0.1 protected
33 results

ci.yml

Blame
  • ci.yml 9.56 KiB
    name: HighFive_CI
    
    concurrency:
      group: ${{ github.workflow }}#${{ github.ref }}
      cancel-in-progress: true
    
    on:
      push:
        branches:
          - ci_test
          - release/**
      pull_request:
        branches:
          - master
          - release/**
        paths-ignore:
          - '**.md'
          - '**.rst'
          - 'doc/**'
    
    env:
      HOMEBREW_NO_AUTO_UPDATE: 1  # for reproducibility, dont autoupdate
      BUILD_TYPE: RelWithDebInfo
      INSTALL_DIR: install
    
    jobs:
    
      # Job testing compiling on several Ubuntu systems + MPI
      # =========================================================
      #
      # For 20.04:  bare and activate Boost, OpenCV
      # For latest: activate Boost, Eigen, OpenCV, with Ninja
      #
      # XTensor tests are run for conda/mamba and MacOS
      Linux_MPI:
        runs-on: ${{matrix.config.os}}
        name: Linux_MPI (${{toJson(matrix.config)}})
        strategy:
          matrix:
            include:
              - config:
                  os: ubuntu-20.04
                  pkgs: ''
                  flags: '-DHIGHFIVE_USE_BOOST:Bool=OFF'
              - config:
                  os: ubuntu-20.04
                  pkgs: 'libboost-all-dev libopencv-dev'
                  flags: '-DHIGHFIVE_USE_OPENCV:Bool=ON -GNinja'
              - config:
                  os: ubuntu-latest
                  pkgs: 'libboost-all-dev libeigen3-dev libopencv-dev'
                  flags: '-DHIGHFIVE_USE_EIGEN:Bool=ON -DHIGHFIVE_USE_OPENCV:Bool=ON -GNinja'
              - config:
                  os: ubuntu-20.04
                  pkgs: 'libboost-all-dev'
                  flags: '-DCMAKE_CXX_STANDARD=17'
              - config:
                  os: ubuntu-22.04
                  flags: '-DHIGHFIVE_USE_BOOST=Off -DCMAKE_CXX_STANDARD=20'
    
        steps:
        - uses: actions/checkout@v3
          with:
            submodules: true
    
        - name: "Setup MPI"
          uses: mpi4py/setup-mpi@v1
          with:
            mpi: openmpi