Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken build docs tests run with GitHub Actions #592

Merged
merged 2 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/tribits_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ jobs:
which ${{ matrix.config.cxx }}
${{ matrix.config.cxx }} --version
if [ "${{ matrix.config.fc }}" = "" ]; then echo "No fortran compiler"; else echo "Checking gfortran path and version" && which ${{ matrix.config.fc }} && ${{ matrix.config.fc }} --version; fi
- name: Fetch repo tags
run: |
echo "Running: git fetch origin 'refs/tags/*:refs/tags/*'"
git fetch origin 'refs/tags/*:refs/tags/*'
echo "Running: git tag"
git tag
- name: Run configure, build, test, and submit to CDash
run: |
cd ..
Expand Down
3 changes: 2 additions & 1 deletion tribits/doc/utils/gen_doc_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ function generate_git_version_file {
echo
echo "Generating git version"
echo
echo `git describe --match="$_TRIBITS_TAG_PREFIX*"` > TribitsGitVersion.txt
git describe --always --match="$_TRIBITS_TAG_PREFIX*" > TribitsGitVersion.txt || \
echo "$_TRIBITS_TAG_PREFIX.{Unknown version}" > TribitsGitVersion.txt
else
echo "$_TRIBITS_TAG_PREFIX.{Unknown version}" > TribitsGitVersion.txt
fi
Expand Down
Loading