-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
165 additions
and
1,813 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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
/lib/ | ||
/obj/ | ||
/bin/ | ||
/doxygen/ | ||
/regtesting/ | ||
/install/ | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM ubuntu:20.04 | ||
|
||
# author: Ole Schuett | ||
|
||
WORKDIR /workspace | ||
|
||
COPY ./scripts/install_basics.sh . | ||
RUN ./install_basics.sh | ||
|
||
COPY ./scripts/install_doxygen.sh . | ||
RUN ./install_doxygen.sh | ||
|
||
COPY ./scripts/ci_entrypoint.sh ./scripts/test_doxygen.sh ./ | ||
CMD ["./ci_entrypoint.sh", "./test_doxygen.sh"] | ||
|
||
#EOF |
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 @@ | ||
#!/bin/bash -e | ||
|
||
# author: Ole Schuett | ||
|
||
# install Ubuntu packages | ||
apt-get update -qq | ||
apt-get install -qq --no-install-recommends doxygen graphviz make | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
#EOF |
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,21 @@ | ||
#!/bin/bash -e | ||
|
||
# author: Ole Schuett | ||
|
||
echo -e "\n========== Generating Doxygen ==========" | ||
cd /workspace/cp2k | ||
if ! make doxygen &> make.out ; then | ||
echo -e "failed.\n\n" | ||
tail -n 100 make.out | ||
echo -e "\nSummary: Doxygen generation failed." | ||
echo -e "Status: FAILED\n" | ||
exit 0 | ||
fi | ||
|
||
mkdir -p /workspace/artifacts | ||
mv ./doxygen/html /workspace/artifacts/doxygen | ||
|
||
echo "Summary: Doxygen generation works fine." | ||
echo "Status: OK" | ||
|
||
#EOF |
Oops, something went wrong.