forked from OpenFAST/openfast
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ebranlard/noise
Noise
- Loading branch information
Showing
258 changed files
with
254,225 additions
and
20,240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# | ||
# Copyright 2016 National Renewable Energy Laboratory | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
FROM rafmudaf/openfast-ubuntu:dev | ||
|
||
# Move into the openfast directory and update | ||
WORKDIR /openfast | ||
RUN git fetch | ||
RUN git pull | ||
RUN git submodule update | ||
|
||
# Move into the "build" directory, remove the old reg tests, and compile | ||
WORKDIR /openfast/build | ||
RUN rm -rf reg_tests | ||
RUN cmake .. | ||
RUN make -j4 install | ||
|
||
# Run the tests | ||
|
||
# BeamDyn-specific tests | ||
RUN ctest -VV -j7 -R bd_ | ||
RUN ctest -VV -R beamdyn_utest | ||
|
||
# OpenFAST linearization tests | ||
# Dont run these in parallel, copying the case files can fail in a race condition | ||
RUN ctest -VV -L linear | ||
|
||
# Subset of OpenFAST regression tests; do not run | ||
## - 9, 16 because they're very sensitive | ||
## - 19, 20 because theyre too long | ||
## - 17, 22, 23 becuase we dont know why they fail :( | ||
RUN ctest -VV -j8 -I 1,1,1,2,3,4,5,6,7,8,10,11,12,13,14,15,18,21,24,25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: 'Compile and test' | ||
description: 'Compile OpenFAST and run the tests' | ||
author: 'NREL' | ||
# inputs: | ||
# build-type: | ||
# description: 'Set the CMake build type: Release (-O3); RelWithDebInfo (-O2 -g); Debug (-g)' | ||
# default: 'Release' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
name: OpenFAST Build and Test | ||
|
||
on: [push, pull_request] | ||
|
||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# matrix: | ||
# os: [macOS-10.14, ubuntu-18.04] | ||
# runs-on: docker://rafmudaf/openfast-ubuntu:alpha | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
name: OpenFAST tests on Ubuntu | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
with: | ||
submodule: recursive | ||
- name: Build and test step | ||
uses: ./.github/actions/compile-and-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# .readthedocs.yml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
formats: | ||
- htmlzip | ||
# - epub | ||
|
||
python: | ||
version: 3.7 | ||
install: | ||
- requirements: docs/requirements.txt | ||
system_packages: true | ||
|
||
# select the docker image to use: stable | latest | ||
build: | ||
image: stable | ||
|
||
sphinx: | ||
builder: html | ||
configuration: docs/conf.py | ||
fail_on_warning: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.