Skip to content

Merge branch 'main' into heat-exchange-models-hpwh #1764

Merge branch 'main' into heat-exchange-models-hpwh

Merge branch 'main' into heat-exchange-models-hpwh #1764

Workflow file for this run

name: Build and Test
on: push
jobs:
build-cse:
name: Build and test CSE
runs-on: windows-2022
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Build CSE
uses: ./.github/actions/build-cse
- name: Build cse_tests.exe (unit tests)
run: cmake --build . --config Release --target cse_tests
working-directory: msvc/build
- name: Upload cse.exe artifact
uses: actions/upload-artifact@v3
with:
name: CSE.exe
path: msvc/CSE.exe
- name: Build wcmp executable
run: cmake --build . --config Release --target wcmp
working-directory: msvc/build
# - name: Setup Mesa3D
# uses: bigladder/github-actions/setup-mesa3d@main
# with:
# install-directory: msvc
- name: Test
run: ctest -C Release -j 2 --output-on-failure -E shadetest # CI can't do GPU calcs at this time (the steps above get us close, but throws an exception on destruction)
working-directory: msvc/build
build-doc:
name: Build CSE documentation
needs: build-cse
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/[email protected]
- name: Configure CMake
run: cmake -P cmake/configure.cmake
- name: Download CSE artifact
uses: ./.github/actions/download-cse-artifact
- name: Build docs
uses: ./.github/actions/build-docs
- name: Run coverage check
run: rake coverage
working-directory: doc
- name: Upload documentation
uses: actions/upload-artifact@v3
with:
name: Documentation
path: |
doc/output
!doc/output/.git