Skip to content
Snippets Groups Projects
Select Git revision
  • ad4a3f028a9db7697e3c4d572acf3d95996cda74
  • develop default protected
  • 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/variational-hydro
  • 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

tests.yml

Blame
  • tests.yml 3.54 KiB
    name: Tests
    on:
      push:
        branches:
          - master
          - v*
      pull_request:
        branches:
          - master
    
    jobs:
      pre-commit:
        name: Formatting
        runs-on: ubuntu-latest
        steps:
        - uses: actions/checkout@v2
        - uses: actions/setup-python@v2
        - uses: pre-commit/action@v2.0.3
    
      cuda-build:
        name: CUDA build only
        runs-on: ubuntu-latest
        container: nvidia/cuda:10.2-devel-ubuntu18.04
        steps:
        - uses: actions/checkout@v1
          with:
            submodules: true
        - name: Add wget
          run: apt-get update && apt-get install -y wget
        - name: Setup cmake
          uses: jwlawson/actions-setup-cmake@v1.11
        - name: Configure
          run: cmake -S . -B build -DCLI11_CUDA_TESTS=ON
        - name: Build
          run: cmake --build build -j2
    
      cmake-config:
        name: CMake config check
        runs-on: ubuntu-latest
        steps:
        - uses: actions/checkout@v2
    
        - name: Check CMake 3.4
          with:
            cmake-version: "3.4"
          uses: ./.github/actions/quick_cmake
    
        - name: Check CMake 3.5
          uses: ./.github/actions/quick_cmake
          with:
            cmake-version: "3.5"
          if: success() || failure()
    
        - name: Check CMake 3.6
          uses: ./.github/actions/quick_cmake
          with:
            cmake-version: "3.6"
          if: success() || failure()
    
        - name: Check CMake 3.7
          uses: ./.github/actions/quick_cmake
          with:
            cmake-version: "3.7"
          if: success() || failure()
    
        - name: Check CMake 3.8
          uses: ./.github/actions/quick_cmake
          with:
            cmake-version: "3.8"
          if: success() || failure()