Skip to content
Snippets Groups Projects
Select Git revision
  • 04fc22a5b0c95070fe40c61fe2db5c6bdac384d5
  • develop default protected
  • origin/stage/bouguettaia
  • feature/variational-hydro
  • feature/gmsh-reader
  • feature/reconstruction
  • save_clemence
  • 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

windows-simple-builds.yml

Blame
  • Stephane Del Pino's avatar
    Stéphane Del Pino authored
    subrepo:
      subdir:   "packages/Catch2"
      merged:   "1078e7e95"
    upstream:
      origin:   "git@github.com:catchorg/Catch2.git"
      branch:   "devel"
      commit:   "1078e7e95"
    git-subrepo:
      version:  "0.4.6"
      origin:   "git@github.com:ingydotnet/git-subrepo.git"
      commit:   "110b9eb"
    04fc22a5
    History
    windows-simple-builds.yml 1.14 KiB
    name: Windows builds (basic)
    
    on: [push, pull_request]
    
    jobs:
      build:
        name: ${{matrix.os}}, ${{matrix.std}}, ${{matrix.build_type}}, ${{matrix.platform}}
        runs-on: ${{matrix.os}}
        strategy:
          matrix:
            os: [windows-2019, windows-2022]
            platform: [Win32, x64]
            build_type: [Debug, Release]
            std: [14, 17]
        steps:
          - uses: actions/checkout@v4
    
          - name: Configure build
            working-directory: ${{runner.workspace}}
            run: |
              cmake -S $Env:GITHUB_WORKSPACE               `
                    -B ${{runner.workspace}}/build         `
                    -DCMAKE_CXX_STANDARD=${{matrix.std}}   `
                    -A ${{matrix.platform}}                `
                    --preset all-tests
    
          - name: Build tests
            working-directory: ${{runner.workspace}}
            run: cmake --build build --config ${{matrix.build_type}} --parallel %NUMBER_OF_PROCESSORS%
            shell: cmd
    
          - name: Run tests
            working-directory: ${{runner.workspace}}/build
            env:
                CTEST_OUTPUT_ON_FAILURE: 1
            run: ctest -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS%
            shell: cmd