forked from Exawind/amr-wind
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail on warnings in the documentation (Exawind#624)
* Fail on warnings in the documentation. * Use https for HIP binaries.
- Loading branch information
1 parent
bcb8041
commit 6172f16
Showing
4 changed files
with
34 additions
and
25 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: AMR-Wind CI | ||
name: AMR-Wind-CI | ||
|
||
on: | ||
push: | ||
|
@@ -10,8 +10,10 @@ jobs: | |
Formatting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: DoozyX/[email protected] | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
- name: Check formatting | ||
uses: DoozyX/[email protected] | ||
with: | ||
source: './amr-wind ./unit_tests ./tools/utilities' | ||
exclude: '.' | ||
|
@@ -45,7 +47,8 @@ jobs: | |
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{github.token}} | ||
- uses: actions/checkout@v2 | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Dependencies | ||
|
@@ -96,7 +99,8 @@ jobs: | |
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{github.token}} | ||
- uses: actions/checkout@v2 | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Prepare CUDA environment | ||
|
@@ -128,13 +132,14 @@ jobs: | |
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{github.token}} | ||
- uses: actions/checkout@v2 | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Prepare HIP environment | ||
run: | | ||
wget -q -O - http://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add - | ||
echo 'deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list | ||
wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add - | ||
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list | ||
echo 'export PATH=/opt/rocm/llvm/bin:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin:$PATH' | sudo tee -a /etc/profile.d/rocm.sh | ||
sudo apt-get update | ||
sudo apt-get install -y --no-install-recommends ninja-build \ | ||
|
@@ -166,7 +171,8 @@ jobs: | |
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{github.token}} | ||
- uses: actions/checkout@v2 | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Prepare DPC++ environment | ||
|
@@ -198,7 +204,8 @@ jobs: | |
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{github.token}} | ||
- uses: actions/checkout@v2 | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Dependencies | ||
|
@@ -234,7 +241,8 @@ jobs: | |
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{github.token}} | ||
- uses: actions/checkout@v2 | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Dependencies | ||
|
@@ -281,7 +289,8 @@ jobs: | |
# uses: styfle/[email protected] | ||
# with: | ||
# access_token: ${{github.token}} | ||
# - uses: actions/checkout@v2 | ||
# - name: Clone | ||
# uses: actions/checkout@v3 | ||
# with: | ||
# submodules: true | ||
# - name: Build 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: AMR-Wind Docs | ||
name: AMR-Wind-Docs | ||
|
||
on: | ||
push: | ||
|
@@ -14,7 +14,8 @@ jobs: | |
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{github.token}} | ||
- uses: actions/checkout@v2 | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
- name: Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
|
@@ -31,7 +32,7 @@ jobs: | |
# execute from top-level amr-wind directory | ||
run: | | ||
echo "::add-matcher::.github/problem-matchers/sphinx.json" | ||
sphinx-build -M html ./docs/sphinx ./build_docs/manual 2>&1 | tee -a build-output.txt | ||
sphinx-build -M html ./docs/sphinx ./build_docs/manual -W --keep-going -n 2>&1 | tee -a build-output.txt | ||
# Doxygen output gets parsed wrong by the sphinx problem matcher so unregister it | ||
echo "::remove-matcher owner=sphinx-problem-matcher-loose-no-severity::" | ||
echo "::remove-matcher owner=sphinx-problem-matcher-loose::" | ||
|
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