Skip to content

Commit

Permalink
Merge pull request #291 from ArielSAdamsNASA/fix-286-documentation-du…
Browse files Browse the repository at this point in the history
…plicate-check

Fix #286, Documentation Duplicate Check
  • Loading branch information
astrogeco authored Jul 7, 2021
2 parents 985d3ac + 4b8f328 commit cee7dfe
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ jobs:
fi
build-usersguide:
# Name the Job
needs: checks-for-duplicates
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }}
# Name the Job
name: Users Guide
# Set the type of machine to run on
runs-on: ubuntu-18.04
Expand All @@ -92,7 +92,7 @@ jobs:
cp ./cfe/cmake/Makefile.sample Makefile
cp -r ./cfe/cmake/sample_defs sample_defs
# Setup the build system
# Setup the build system
- name: Make Prep
run: make prep

Expand All @@ -112,7 +112,6 @@ jobs:
make_usersguide_stderr.txt
cfe-usersguide-warnings.log
- name: Error Check
run: |
if [[ -s make_usersguide_stderr.txt ]]; then
Expand All @@ -127,6 +126,15 @@ jobs:
exit -1
fi
pdf-usersguide:
needs: build-usersguide
# Name the Job
name: PDF Users Guide
# Set the type of machine to run on
runs-on: ubuntu-18.04

steps:

- name: PDF generation installs
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
run: |
Expand Down Expand Up @@ -154,9 +162,9 @@ jobs:
SINGLE_COMMIT: true

build-osalguide:
# Name the Job
needs: checks-for-duplicates
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }}
# Name the Job
name: Osal Guide
# Set the type of machine to run on
runs-on: ubuntu-18.04
Expand All @@ -175,7 +183,7 @@ jobs:
cp ./cfe/cmake/Makefile.sample Makefile
cp -r ./cfe/cmake/sample_defs sample_defs
# Setup the build system
# Setup the build system
- name: Make Prep
run: make prep

Expand All @@ -187,7 +195,6 @@ jobs:
make osalguide > make_osalguide_stdout.txt 2> make_osalguide_stderr.txt
mv build/docs/osalguide/osal-apiguide-warnings.log osal-apiguide-warnings.log
- name: Archive Osal Guide Build Logs
uses: actions/upload-artifact@v2
with:
Expand All @@ -197,7 +204,6 @@ jobs:
make_osalguide_stderr.txt
osal-apiguide-warnings.log
- name: Error Check
run: |
if [[ -s make_osalguide_stderr.txt ]]; then
Expand All @@ -212,6 +218,13 @@ jobs:
exit -1
fi
pdf-osalguide:
needs: build-osalguide
# Name the Job
name: PDF Osal Guide
# Set the type of machine to run on
runs-on: ubuntu-18.04
steps:
- name: PDF generation installs
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
run: |
Expand Down

0 comments on commit cee7dfe

Please sign in to comment.