Skip to content

Commit

Permalink
Merge pull request #1568 from OpenFAST/rc-3.5.0
Browse files Browse the repository at this point in the history
Release 3.5.0
  • Loading branch information
andrew-platt authored May 16, 2023
2 parents 1870408 + 0215949 commit 6b8706b
Show file tree
Hide file tree
Showing 238 changed files with 20,913 additions and 30,757 deletions.
93 changes: 43 additions & 50 deletions .github/workflows/automated-dev-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ on:
# paths-ignore:

env:
FORTRAN_COMPILER: gfortran-10
CXX_COMPILER: g++-10
C_COMPILER: gcc-10
GCOV_EXE: gcov-10
NUM_PROCS: 8
FORTRAN_COMPILER: gfortran-12
CXX_COMPILER: g++-12
C_COMPILER: gcc-12
GCOV_EXE: gcov-12
CMAKE_BUILD_PARALLEL_LEVEL: 8


jobs:
Expand All @@ -32,7 +32,7 @@ jobs:
# 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
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@main
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Build all
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target all -- -j ${{env.NUM_PROCS}}
cmake --build . --target all
- name: Cache the workspace
uses: actions/cache@v3.0.4
with:
Expand All @@ -79,7 +79,7 @@ jobs:
# 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
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@main
Expand All @@ -103,12 +103,12 @@ jobs:
- name: Build all
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target all -- -j ${{env.NUM_PROCS}}
cmake --build . --target all
build-drivers-release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@main
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
- name: Build module drivers
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_module_drivers -- -j ${{env.NUM_PROCS}}
cmake --build . --target regression_test_module_drivers
- name: Cache the workspace
uses: actions/cache@v3.0.4
with:
Expand All @@ -150,7 +150,7 @@ jobs:


build-postlib-release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@main
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
${GITHUB_WORKSPACE}
- name: Build openfast-postlib
working-directory: ${{runner.workspace}}/openfast/build
run: cmake --build . --target openfast_postlib -- -j ${{env.NUM_PROCS}}
run: cmake --build . --target openfast_postlib
- name: Cache the workspace
uses: actions/cache@v3.0.4
with:
Expand All @@ -198,7 +198,7 @@ jobs:


build-interfaces-release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-postlib-release
steps:
- name: Cache the workspace
Expand All @@ -220,14 +220,7 @@ jobs:
- 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}}
cmake --build . --target openfastlib openfast_cpp openfastcpp aerodyn_inflow_c_binding moordyn_c_binding ifw_c_binding hydrodyn_c_binding regression_test_controllers
- name: Cache the workspace
uses: actions/cache@v3.0.4
with:
Expand All @@ -236,7 +229,7 @@ jobs:


build-openfast-release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-postlib-release
steps:
- name: Cache the workspace
Expand All @@ -258,7 +251,7 @@ jobs:
- name: Build OpenFAST glue-code
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target openfast -- -j ${{env.NUM_PROCS}}
cmake --build . --target openfast
- name: Cache the workspace
uses: actions/cache@v3.0.4
with:
Expand All @@ -267,7 +260,7 @@ jobs:


build-fastfarm-release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-postlib-release
steps:
- name: Cache the workspace
Expand All @@ -289,7 +282,7 @@ jobs:
- name: Build FAST.Farm
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target FAST.Farm -- -j ${{env.NUM_PROCS}}
cmake --build . --target FAST.Farm
- name: Cache the workspace
uses: actions/cache@v3.0.4
with:
Expand All @@ -302,7 +295,7 @@ jobs:

build-test-uadriver-debug:
# UA driver requires -DUA_OUTS, cannot be compiled with other
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@main
Expand Down Expand Up @@ -338,7 +331,7 @@ jobs:
- name: Build all
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target unsteadyaero_driver -- -j ${{env.NUM_PROCS}}
cmake --build . --target unsteadyaero_driver
- name: Run UnsteadyAero tests
working-directory: ${{runner.workspace}}/openfast/build
Expand All @@ -359,7 +352,7 @@ jobs:
### TEST JOBS

rtest-module-drivers:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-drivers-release
steps:
- name: Cache the workspace
Expand Down Expand Up @@ -406,7 +399,7 @@ jobs:
rtest-modules-debug:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-all-debug
steps:
- name: Cache the workspace
Expand All @@ -432,7 +425,7 @@ jobs:
-DBUILD_TESTING:BOOL=ON \
-DCTEST_PLOT_ERRORS:BOOL=ON \
${GITHUB_WORKSPACE}
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
cmake --build . --target regression_test_controllers
- name: Run AeroDyn tests
uses: ./.github/actions/tests-module-aerodyn
with:
Expand Down Expand Up @@ -463,7 +456,7 @@ jobs:
rtest-interfaces:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-interfaces-release
steps:
- name: Cache the workspace
Expand All @@ -485,7 +478,7 @@ jobs:
- name: Run Interface / API tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
ctest -VV -L "cpp|python|fastlib" -j ${{env.NUM_PROCS}}
ctest -VV -L "cpp|python|fastlib"
- name: Failing test artifacts
uses: actions/upload-artifact@v3
if: failure()
Expand All @@ -502,7 +495,7 @@ jobs:
rtest-OF:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-openfast-release
steps:
- name: Cache the workspace
Expand All @@ -524,7 +517,7 @@ jobs:
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
cmake --build . --target regression_test_controllers
- name: Run 5MW tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
Expand All @@ -549,7 +542,7 @@ jobs:
rtest-OF-5MW_OC4Semi_WSt_WavesWN:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-openfast-release
steps:
- name: Cache the workspace
Expand All @@ -571,7 +564,7 @@ jobs:
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
cmake --build . --target regression_test_controllers
- name: Run 5MW tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
Expand All @@ -593,7 +586,7 @@ jobs:
rtest-OF-5MW_OC3Mnpl_DLL_WTurb_WavesIrr:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-openfast-release
steps:
- name: Cache the workspace
Expand All @@ -615,7 +608,7 @@ jobs:
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
cmake --build . --target regression_test_controllers
- name: Run 5MW tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
Expand All @@ -637,7 +630,7 @@ jobs:
rtest-OF-5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-openfast-release
steps:
- name: Cache the workspace
Expand All @@ -659,7 +652,7 @@ jobs:
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
cmake --build . --target regression_test_controllers
- name: Run 5MW tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
Expand All @@ -681,7 +674,7 @@ jobs:
rtest-OF-5MW_OC3Trpd_DLL_WSt_WavesReg:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-openfast-release
steps:
- name: Cache the workspace
Expand All @@ -703,7 +696,7 @@ jobs:
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
cmake --build . --target regression_test_controllers
- name: Run 5MW tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
Expand All @@ -725,7 +718,7 @@ jobs:
rtest-OF-5MW_Land_BD_DLL_WTurb:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-openfast-release
steps:
- name: Cache the workspace
Expand All @@ -747,7 +740,7 @@ jobs:
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
cmake --build . --target regression_test_controllers
- name: Run 5MW tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
Expand All @@ -769,7 +762,7 @@ jobs:
rtest-OF-linearization:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-openfast-release
steps:
- name: Cache the workspace
Expand All @@ -791,7 +784,7 @@ jobs:
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
cmake --build . --target regression_test_controllers
- name: Run OpenFAST linearization tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
Expand All @@ -813,7 +806,7 @@ jobs:
rtest-FF:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: build-fastfarm-release
steps:
- name: Cache the workspace
Expand All @@ -835,13 +828,13 @@ jobs:
- name: Configure Tests
working-directory: ${{runner.workspace}}/openfast/build
run: |
cmake --build . --target regression_test_controllers -- -j ${{env.NUM_PROCS}}
cmake --build . --target regression_test_controllers
- 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
ctest -VV -L fastfarm --verbose
- name: Failing test artifacts
uses: actions/upload-artifact@v3
if: failure()
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ vs-build/
.vscode
.atom
.fortls
.devcontainer
# backup files
*.asv
~$*.xlsx
Expand Down
Loading

0 comments on commit 6b8706b

Please sign in to comment.