Skip to content

AD: update from rc3.5.1 #671

AD: update from rc3.5.1

AD: update from rc3.5.1 #671

name: 'Development Pipeline'
on:
push:
paths-ignore:
- 'LICENSE'
- 'README.rst'
- 'docs/**'
- 'share/**'
- 'vs-build/**'
pull_request:
types: [opened, synchronize, edited, reopened] #labeled, assigned]
# Pull request event triggers are unrelated to paths
# paths-ignore:
env:
FORTRAN_COMPILER: gfortran-10
CXX_COMPILER: g++-10
C_COMPILER: gcc-10
GCOV_EXE: gcov-10
NUM_PROCS: 8
jobs:
### BUILD JOBS
build-all-debug:
# Tests compiling in debug mode.
# Also compiles the Registry and generates new types files.
# Debug more speeds up the build.
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@main
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
- name: Setup workspace
run: cmake -E make_directory ${{runner.workspace}}/openfast/build
- name: Configure build
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=${{runner.workspace}}/openfast/install \
-DCMAKE_Fortran_COMPILER:STRING=${{env.FORTRAN_COMPILER}} \
-DCMAKE_CXX_COMPILER:STRING=${{env.CXX_COMPILER}} \
-DCMAKE_C_COMPILER:STRING=${{env.C_COMPILER}} \
-DCMAKE_BUILD_TYPE:STRING=DEBUG \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DGENERATE_TYPES=ON \
-DVARIABLE_TRACKING=OFF \
-DBUILD_TESTING:BOOL=ON \
-DCTEST_PLOT_ERRORS:BOOL=ON \
${GITHUB_WORKSPACE}
# -DDOUBLE_PRECISION=OFF \
- name: Build all
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target all -- -j ${{env.NUM_PROCS}}
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-all-debug-${{ github.sha }}
build-all-debug-single:
# Tests compiling in debug mode with single precision.
# This workspace is not used by any other subtests, it checks type errors of the type ReKi/R8Ki
# Debug speeds up the build.
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@main
with:
submodules: recursive
- name: Setup workspace
run: cmake -E make_directory ${{runner.workspace}}/openfast/build
- name: Configure build
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=${{runner.workspace}}/openfast/install \
-DCMAKE_Fortran_COMPILER:STRING=${{env.FORTRAN_COMPILER}} \
-DCMAKE_CXX_COMPILER:STRING=${{env.CXX_COMPILER}} \
-DCMAKE_C_COMPILER:STRING=${{env.C_COMPILER}} \
-DCMAKE_BUILD_TYPE:STRING=DEBUG \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DVARIABLE_TRACKING=OFF \
-DDOUBLE_PRECISION:BOOL=OFF \
${GITHUB_WORKSPACE}
- name: Build all
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target all -- -j ${{env.NUM_PROCS}}
build-drivers-release:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@main
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
- name: Setup workspace
run: cmake -E make_directory ${{runner.workspace}}/openfast/build
- name: Configure build
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=${{runner.workspace}}/openfast/install \
-DCMAKE_Fortran_COMPILER:STRING=${{env.FORTRAN_COMPILER}} \
-DCMAKE_CXX_COMPILER:STRING=${{env.CXX_COMPILER}} \
-DCMAKE_C_COMPILER:STRING=${{env.C_COMPILER}} \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DVARIABLE_TRACKING=OFF \
-DBUILD_TESTING:BOOL=ON \
-DCTEST_PLOT_ERRORS:BOOL=ON \
${GITHUB_WORKSPACE}
- name: Build module drivers
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_module_drivers -- -j ${{env.NUM_PROCS}}
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-drivers-release-${{ github.sha }}
build-postlib-release:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@main
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev # gcovr
- name: Setup workspace
run: cmake -E make_directory ${{runner.workspace}}/openfast/build
- name: Configure build
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=${{runner.workspace}}/openfast/install \
-DCMAKE_Fortran_COMPILER:STRING=${{env.FORTRAN_COMPILER}} \
-DCMAKE_CXX_COMPILER:STRING=${{env.CXX_COMPILER}} \
-DCMAKE_C_COMPILER:STRING=${{env.C_COMPILER}} \
-DCMAKE_BUILD_TYPE:STRING=RELWITHDEBINFO \
-DOPENMP:BOOL=ON \
-DDOUBLE_PRECISION=ON \
-DVARIABLE_TRACKING=OFF \
-DBUILD_FASTFARM:BOOL=ON \
-DBUILD_OPENFAST_CPP_API:BOOL=ON \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DBUILD_TESTING:BOOL=ON \
-DCTEST_PLOT_ERRORS:BOOL=ON \
${GITHUB_WORKSPACE}
- name: Build openfast-postlib
working-directory: ${{runner.workspace}}/openfast/build
run: cmake --build . --target openfast_postlib -- -j ${{env.NUM_PROCS}}
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-postlib-release-${{ github.sha }}
build-interfaces-release:
runs-on: ubuntu-20.04
needs: build-postlib-release
steps:
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-postlib-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
- name: Build OpenFAST C-Interfaces
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target openfastlib -- -j ${{env.NUM_PROCS}}
cmake --build . --target openfast_cpp -- -j ${{env.NUM_PROCS}}
cmake --build . --target openfastcpp -- -j ${{env.NUM_PROCS}}
cmake --build . --target aerodyn_inflow_c_binding -- -j ${{env.NUM_PROCS}}
cmake --build . --target moordyn_c_binding -- -j ${{env.NUM_PROCS}}
cmake --build . --target ifw_c_binding -- -j ${{env.NUM_PROCS}}
cmake --build . --target hydrodyn_c_binding -- -j ${{env.NUM_PROCS}}
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-interfaces-release-${{ github.sha }}
build-openfast-release:
runs-on: ubuntu-20.04
needs: build-postlib-release
steps:
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-postlib-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
- name: Build OpenFAST glue-code
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target openfast -- -j ${{env.NUM_PROCS}}
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
build-fastfarm-release:
runs-on: ubuntu-20.04
needs: build-postlib-release
steps:
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-postlib-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
- name: Build FAST.Farm
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target FAST.Farm -- -j ${{env.NUM_PROCS}}
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-fastfarm-release-${{ github.sha }}
### BUILD AND TEST JOBS
#
# build-test-uadriver-debug:
# # UA driver requires -DUA_OUTS, cannot be compiled with other
# runs-on: ubuntu-20.04
# steps:
# - name: Checkout
# uses: actions/checkout@main
# with:
# submodules: recursive
# - name: Setup Python
# uses: actions/setup-python@v3
# with:
# python-version: '3.9'
# cache: 'pip'
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
# - name: Setup workspace
# run: cmake -E make_directory ${{runner.workspace}}/openfast/build
# - name: Configure build
# working-directory: ${{runner.workspace}}/openfast/build
# run: |
# cmake \
# -DCMAKE_INSTALL_PREFIX:PATH=${{runner.workspace}}/openfast/install \
# -DCMAKE_Fortran_COMPILER:STRING=${{env.FORTRAN_COMPILER}} \
# -DCMAKE_CXX_COMPILER:STRING=${{env.CXX_COMPILER}} \
# -DCMAKE_C_COMPILER:STRING=${{env.C_COMPILER}} \
# -DCMAKE_BUILD_TYPE:STRING=DEBUG \
# -DBUILD_SHARED_LIBS:BOOL=OFF \
# -DGENERATE_TYPES=ON \
# -DVARIABLE_TRACKING=OFF \
# -DBUILD_TESTING:BOOL=ON \
# -DCTEST_PLOT_ERRORS:BOOL=ON \
# -DCMAKE_Fortran_FLAGS="-DUA_OUTS=ON" \
# ${GITHUB_WORKSPACE}
# - name: Build all
# working-directory: ${{runner.workspace}}/openfast/build
# run: |
# cmake --build . --target unsteadyaero_driver -- -j ${{env.NUM_PROCS}}
#
# - name: Run UnsteadyAero tests
# working-directory: ${{runner.workspace}}/openfast/build
# shell: bash
# run: |
# ctest -VV -R "^ua_"
#
# - name: Failing test artifacts
# uses: actions/upload-artifact@v3
# if: failure()
# with:
# name: rtest-uadriver
# path: |
# ${{runner.workspace}}/openfast/build/reg_tests/modules/unsteadyaero
#
### TEST JOBS
rtest-module-drivers:
runs-on: ubuntu-20.04
needs: build-drivers-release
steps:
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-drivers-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
- name: Run AeroDyn tests
uses: ./.github/actions/tests-module-aerodyn
with:
test-target: regression
# - name: Run BeamDyn tests
# uses: ./.github/actions/tests-module-beamdyn
# with:
# test-target: regression
# - name: Run HydroDyn tests
# uses: ./.github/actions/tests-module-hydrodyn
# - name: Run InflowWind tests
# uses: ./.github/actions/tests-module-inflowwind
# with:
# test-target: regression
# - name: Run MoorDyn tests
# uses: ./.github/actions/tests-module-moordyn
# - name: Run SubDyn tests
# uses: ./.github/actions/tests-module-subdyn
- name: Failing test artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: rtest-module-drivers
path: |
${{runner.workspace}}/openfast/build/reg_tests/modules
rtest-modules-debug:
runs-on: ubuntu-20.04
needs: build-all-debug
steps:
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-all-debug-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake \
-DBUILD_TESTING:BOOL=ON \
-DCTEST_PLOT_ERRORS:BOOL=ON \
${GITHUB_WORKSPACE}
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
- name: Run AeroDyn tests
uses: ./.github/actions/tests-module-aerodyn
with:
# Don't run regression tests here since they currently fail inconsistently
test-target: unit
# - name: Run BeamDyn tests
# uses: ./.github/actions/tests-module-beamdyn
# - name: Run HydroDyn tests
# uses: ./.github/actions/tests-module-hydrodyn
# - name: Run InflowWind tests
# uses: ./.github/actions/tests-module-inflowwind
# - name: Run MoorDyn tests
# uses: ./.github/actions/tests-module-moordyn
# - name: Run NWTC Library tests
# uses: ./.github/actions/tests-module-nwtclibrary
# - name: Run SubDyn tests
# uses: ./.github/actions/tests-module-subdyn
# - name: Run VersionInfo tests
# uses: ./.github/actions/tests-module-version
- name: Failing test artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: rtest-modules-debug
path: |
${{runner.workspace}}/openfast/build/reg_tests/modules
${{runner.workspace}}/openfast/build/unit_tests
# rtest-interfaces:
# runs-on: ubuntu-20.04
# needs: build-interfaces-release
# steps:
# - name: Cache the workspace
# uses: actions/[email protected]
# with:
# path: ${{runner.workspace}}
# key: build-interfaces-release-${{ github.sha }}
# - name: Setup Python
# uses: actions/setup-python@v3
# with:
# python-version: '3.9'
# cache: 'pip'
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3" vtk
# sudo apt-get update -y
# sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
# - name: Run Interface / API tests
# working-directory: ${{runner.workspace}}/openfast/build
# run: |
# ctest -VV -L "cpp|python|fastlib" -j ${{env.NUM_PROCS}}
# - name: Failing test artifacts
# uses: actions/upload-artifact@v3
# if: failure()
# with:
# name: rtest-interfaces
# path: |
# ${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast-cpp
# ${{runner.workspace}}/openfast/build/reg_tests/glue-codes/python
# ${{runner.workspace}}/openfast/build/reg_tests/modules/aerodyn
# ${{runner.workspace}}/openfast/build/reg_tests/modules/moordyn
# ${{runner.workspace}}/openfast/build/reg_tests/modules/inflowwind
# ${{runner.workspace}}/openfast/build/reg_tests/modules/hydrodyn
# !${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast-cpp/5MW_Baseline
#
#
# rtest-OF:
# runs-on: ubuntu-20.04
# needs: build-openfast-release
# steps:
# - name: Cache the workspace
# uses: actions/[email protected]
# with:
# path: ${{runner.workspace}}
# key: build-openfast-release-${{ github.sha }}
# - name: Setup Python
# uses: actions/setup-python@v3
# with:
# python-version: '3.9'
# cache: 'pip'
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
# sudo apt-get update -y
# sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
# - name: Configure Tests
# working-directory: ${{runner.workspace}}/openfast/build
# run: |
# cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
# - name: Run 5MW tests
# working-directory: ${{runner.workspace}}/openfast/build
# run: |
# ctest -VV -j8 \
# -L openfast \
# -LE "cpp|linear|python|fastlib" \
# -E "5MW_OC4Semi_WSt_WavesWN|5MW_OC3Mnpl_DLL_WTurb_WavesIrr|5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth|5MW_OC3Trpd_DLL_WSt_WavesReg|5MW_Land_BD_DLL_WTurb"
# - name: Failing test artifacts
# uses: actions/upload-artifact@v3
# if: failure()
# with:
# name: rtest-OF
# path: |
# ${{runner.workspace}}/openfast/build/reg_tests/modules
# ${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast
# !${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/5MW_Baseline
# !${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AOC
# !${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AWT27
# !${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/SWRT
# !${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/UAE_VI
# !${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/WP_Baseline
rtest-OF-5MW_OC4Semi_WSt_WavesWN:
runs-on: ubuntu-20.04
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
- name: Run 5MW tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
ctest -VV -L openfast -LE "cpp|linear|python" -R 5MW_OC4Semi_WSt_WavesWN
- name: Failing test artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: rtest-OF-5MW_OC4Semi_WSt_WavesWN
path: |
${{runner.workspace}}/openfast/build/reg_tests/modules
${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/5MW_Baseline
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AOC
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AWT27
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/SWRT
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/UAE_VI
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/WP_Baseline
rtest-OF-5MW_OC3Mnpl_DLL_WTurb_WavesIrr:
runs-on: ubuntu-20.04
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
- name: Run 5MW tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
ctest -VV -L openfast -LE "cpp|linear|python" -R 5MW_OC3Mnpl_DLL_WTurb_WavesIrr
- name: Failing test artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: rtest-OF-5MW_OC3Mnpl_DLL_WTurb_WavesIrr
path: |
${{runner.workspace}}/openfast/build/reg_tests/modules
${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/5MW_Baseline
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AOC
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AWT27
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/SWRT
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/UAE_VI
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/WP_Baseline
rtest-OF-5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth:
runs-on: ubuntu-20.04
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
- name: Run 5MW tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
ctest -VV -L openfast -LE "cpp|linear|python" -R 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth
- name: Failing test artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: rtest-OF-5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth
path: |
${{runner.workspace}}/openfast/build/reg_tests/modules
${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/5MW_Baseline
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AOC
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AWT27
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/SWRT
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/UAE_VI
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/WP_Baseline
rtest-OF-5MW_OC3Trpd_DLL_WSt_WavesReg:
runs-on: ubuntu-20.04
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
- name: Run 5MW tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
ctest -VV -L openfast -LE "cpp|linear|python" -R 5MW_OC3Trpd_DLL_WSt_WavesReg
- name: Failing test artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: rtest-OF-5MW_OC3Trpd_DLL_WSt_WavesReg
path: |
${{runner.workspace}}/openfast/build/reg_tests/modules
${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/5MW_Baseline
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AOC
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AWT27
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/SWRT
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/UAE_VI
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/WP_Baseline
rtest-OF-5MW_Land_BD_DLL_WTurb:
runs-on: ubuntu-20.04
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
- name: Run 5MW tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
ctest -VV -L openfast -LE "cpp|linear|python" -R 5MW_Land_BD_DLL_WTurb
- name: Failing test artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: rtest-OF-5MW_Land_BD_DLL_WTurb
path: |
${{runner.workspace}}/openfast/build/reg_tests/modules
${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/5MW_Baseline
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AOC
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AWT27
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/SWRT
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/UAE_VI
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/WP_Baseline
rtest-OF-linearization:
runs-on: ubuntu-20.04
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/[email protected]
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
sudo apt-get update -y
sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
- name: Run OpenFAST linearization tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
ctest -VV -j8 -L linear
- name: Failing test artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: rtest-OF-linearization
path: |
${{runner.workspace}}/openfast/build/reg_tests/modules
${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/5MW_Baseline
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AOC
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/AWT27
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/SWRT
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/UAE_VI
!${{runner.workspace}}/openfast/build/reg_tests/glue-codes/openfast/WP_Baseline
# rtest-FF:
# runs-on: ubuntu-20.04
# needs: build-fastfarm-release
# steps:
# - name: Cache the workspace
# uses: actions/[email protected]
# with:
# path: ${{runner.workspace}}
# key: build-fastfarm-release-${{ github.sha }}
# - name: Setup Python
# uses: actions/setup-python@v3
# with:
# python-version: '3.9'
# cache: 'pip'
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install numpy "Bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3"
# sudo apt-get update -y
# sudo apt-get install -y libhdf5-dev libopenmpi-dev libyaml-cpp-dev
# - name: Configure Tests
# working-directory: ${{runner.workspace}}/openfast/build
# run: |
# cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
# - name: Run FAST.Farm tests
# working-directory: ${{runner.workspace}}/openfast/build
# shell: bash
# run: |
# set OMP_NUM_THREADS=2
# ctest -VV -L fastfarm -j ${{env.NUM_PROCS}} --verbose
# - name: Failing test artifacts
# uses: actions/upload-artifact@v3
# if: failure()
# with:
# name: rtest-FF
# path: |
# ${{runner.workspace}}/openfast/build/reg_tests/glue-codes/fast-farm