diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 64f1141cc..5c61e5a03 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -69,6 +69,7 @@ jobs: uses: actions/checkout@v2 with: submodules: true + persist-credentials: false # Setup the build system - name: Copy Files @@ -112,6 +113,32 @@ jobs: exit -1 fi + - name: PDF generation installs + if: ${{ github.event_name == 'push' }} + run: | + sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra + + - name: PDF generation + if: ${{ github.event_name == 'push' }} + run: | + set -x + mkdir deploy + cd ./build/doc/users_guide/latex + make > build.txt + mv refman.pdf $GITHUB_WORKSPACE/deploy/cFE_Users_Guide.pdf + # Could add pandoc and convert to github markdown + # pandoc CFE_Users_Guide.pdf -t gfm + + - name: Deploy + if: ${{ github.event_name == 'push' }} + uses: JamesIves/github-pages-deploy-action@3.7.1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BRANCH: gh-pages + FOLDER: deploy + CLEAN: false + SINGLE_COMMIT: true + build-osalguide: # Name the Job name: Osal Guide @@ -124,6 +151,7 @@ jobs: uses: actions/checkout@v2 with: submodules: true + persist-credentials: false # Setup the build system - name: Copy Files @@ -167,3 +195,29 @@ jobs: cat osalguide_warnings.log exit -1 fi + + - name: PDF generation installs + if: ${{ github.event_name == 'push' }} + run: | + sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra + + - name: PDF generation + if: ${{ github.event_name == 'push' }} + run: | + mkdir deploy + cd ./build/doc/osalguide/latex + make > build.txt + mv refman.pdf $GITHUB_WORKSPACE/deploy/OSAL_Users_Guide.pdf + # Could add pandoc and convert to github markdown + # pandoc CFE_Users_Guide.pdf -t gfm + + - name: Deploy + if: ${{ github.event_name == 'push' }} + uses: JamesIves/github-pages-deploy-action@3.7.1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BRANCH: gh-pages + FOLDER: deploy + CLEAN: false + SINGLE_COMMIT: true + diff --git a/.github/workflows/codeql-build.yml b/.github/workflows/codeql-build.yml index fdc42fc6c..abab28920 100644 --- a/.github/workflows/codeql-build.yml +++ b/.github/workflows/codeql-build.yml @@ -5,31 +5,27 @@ on: pull_request: branches: - main - + env: SIMULATION: native ENABLE_UNIT_TESTS: true OMIT_DEPRECATED: true + BUILDTYPE: release jobs: CodeQL-Build: - - strategy: - matrix: - buildtype: [debug, release] - runs-on: ubuntu-18.04 timeout-minutes: 15 - env: - BUILDTYPE: ${{ matrix.buildtype }} + steps: - # Checks out a copy of your repository on the ubuntu-latest machine + # Checks out a copy of your repository - name: Checkout code uses: actions/checkout@v2 with: + repository: nasa/cFS submodules: true - + - name: Check versions run: | git log -1 --pretty=oneline @@ -38,8 +34,8 @@ jobs: - name: Initialize CodeQL uses: github/codeql-action/init@v1 with: - languages: c - config-file: ./.github/codeql/codeql-config.yml + languages: c + config-file: ./.github/codeql/codeql-config.yml # Setup the build system - name: Copy sample_defs @@ -49,8 +45,8 @@ jobs: # Setup the build system - name: Make Install - run: make - - # Run CodeQL + run: make + + # Run CodeQL - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 diff --git a/apps/ci_lab b/apps/ci_lab index 445fd6ccb..296d12cde 160000 --- a/apps/ci_lab +++ b/apps/ci_lab @@ -1 +1 @@ -Subproject commit 445fd6ccbeb20780b19614eb3ac67f1f0fc96c5e +Subproject commit 296d12cde4f90d112d1578cb584ddae200a2d282 diff --git a/apps/sample_app b/apps/sample_app index 6e7cf8855..ecaf7e37b 160000 --- a/apps/sample_app +++ b/apps/sample_app @@ -1 +1 @@ -Subproject commit 6e7cf8855f219c36b7595f32bf046ede0445a398 +Subproject commit ecaf7e37b68670960cbe4fe0e7a10a1695f05cc1 diff --git a/apps/sample_lib b/apps/sample_lib index da2643fba..6627a202c 160000 --- a/apps/sample_lib +++ b/apps/sample_lib @@ -1 +1 @@ -Subproject commit da2643fbaa3224c92f71999dd0967399d14f1e60 +Subproject commit 6627a202c459f175cc48c8de68192c906035f62d diff --git a/apps/sch_lab b/apps/sch_lab index c25b0ef2d..882846bb7 160000 --- a/apps/sch_lab +++ b/apps/sch_lab @@ -1 +1 @@ -Subproject commit c25b0ef2da7793656c1720471ce28d8ae3d36c8c +Subproject commit 882846bb778432c8780555b9d4bef45535584174 diff --git a/apps/to_lab b/apps/to_lab index 57cfa8bcf..031de3dde 160000 --- a/apps/to_lab +++ b/apps/to_lab @@ -1 +1 @@ -Subproject commit 57cfa8bcfb1d4211144c35a116121ea94836fae1 +Subproject commit 031de3dde3f5265e98d7cd2bc154d93bee8520b0 diff --git a/cfe b/cfe index 4374482cb..6b9c267e6 160000 --- a/cfe +++ b/cfe @@ -1 +1 @@ -Subproject commit 4374482cb45f934ef052540d031f33c7ebdf77fa +Subproject commit 6b9c267e6ac539ae17fb79a94467928f44559844 diff --git a/osal b/osal index 09a2c5e79..ff4f52312 160000 --- a/osal +++ b/osal @@ -1 +1 @@ -Subproject commit 09a2c5e793639e508174a2446989274acf36f25e +Subproject commit ff4f52312297a3cdf3ddc0cf5ead95f27954630b diff --git a/psp b/psp index 0cd14abbb..a1a7e7a3b 160000 --- a/psp +++ b/psp @@ -1 +1 @@ -Subproject commit 0cd14abbb58691eb83afdd816e116f68e681b8e0 +Subproject commit a1a7e7a3bfd6d2d82bb5d099c1f757ff60ba2431 diff --git a/tools/cFS-GroundSystem b/tools/cFS-GroundSystem index 2fd986f7d..46be77dd7 160000 --- a/tools/cFS-GroundSystem +++ b/tools/cFS-GroundSystem @@ -1 +1 @@ -Subproject commit 2fd986f7d2d6631551355343333106e8aa513102 +Subproject commit 46be77dd7d4ec604438806886638205b339d34a2 diff --git a/tools/elf2cfetbl b/tools/elf2cfetbl index 6d1d12ea2..6762b1c3b 160000 --- a/tools/elf2cfetbl +++ b/tools/elf2cfetbl @@ -1 +1 @@ -Subproject commit 6d1d12ea2d4ab7bcc7044f8e4c60a268d7a1f640 +Subproject commit 6762b1c3b455665dae57e35f14a50fe327830391 diff --git a/tools/tblCRCTool b/tools/tblCRCTool index bb7d143b4..b02864ba5 160000 --- a/tools/tblCRCTool +++ b/tools/tblCRCTool @@ -1 +1 @@ -Subproject commit bb7d143b44946764df2f787cd5ce27d4f4abfb7c +Subproject commit b02864ba56b12e00ab152225e3e8f9d6c039d48c