Skip to content

Commit

Permalink
TEST - fix nasa#447
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Apr 11, 2022
1 parent 8b4b106 commit 541f75b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
run: |
cp ./cfe/cmake/Makefile.sample Makefile
cp -r ./cfe/cmake/sample_defs sample_defs
- name: Make Prep
run: make prep

- name: Install Doxygen Dependencies
run: sudo apt-get install doxygen graphviz -y

- name: Install PDF Generation Dependencies
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
#if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
run: |
sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
Expand All @@ -62,10 +62,15 @@ jobs:
key: doc-setup-buildnum-${{ github.run_number }}

build-usersguide:
- needs: setup-doc-build
matrix:
targetname: [mission-doc, cfe-usersguide, osal-apiguide]
needs: setup-doc-build
runs-on: ubuntu-18.04

strategy:
fail-fast: false
matrix:
targetname: [mission-doc, cfe-usersguide, osal-apiguide]

steps:
- name: Get Setup Cache
id: cache-doc-setup
uses: actions/cache@v2
Expand All @@ -75,8 +80,7 @@ jobs:

- name: Build Document
run: |
make -C build ${{ matrix.targetname }} > make_${{ matrix.targetname }}_stdout.txt \
2> make_${{ matrix.targetname }}_stderr.txt
make -C build ${{ matrix.targetname }} > make_${{ matrix.targetname }}_stdout.txt 2> make_${{ matrix.targetname }}_stderr.txt
mv build/docs/${{ matrix.targetname }}/${{ matrix.targetname }}-warnings.log ${{ matrix.targetname }}-warnings.log
- name: Archive Document Build Logs
Expand All @@ -103,7 +107,7 @@ jobs:
fi
- name: Generate PDF
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
#if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
run: |
mkdir deploy
cd ./build/docs/${{ matrix.targetname }}/latex
Expand All @@ -121,7 +125,8 @@ jobs:
deploy:
needs: build-usersguide
name: Deploy documents
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
#if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
runs-on: ubuntu-18.04

steps:
- name: Get All Artifacts
Expand Down
2 changes: 1 addition & 1 deletion cfe

0 comments on commit 541f75b

Please sign in to comment.