Skip to content

Commit

Permalink
Merge branch 'develop' into 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
JonatanAntoni committed Jun 24, 2021
2 parents 2028526 + 3623c46 commit 13b9f72
Show file tree
Hide file tree
Showing 9,074 changed files with 3,057,502 additions and 2,208,780 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
43 changes: 43 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "CodeQL"

on:
workflow_dispatch:
push:
branches: [ develop ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop ]

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
container:
image: ghcr.io/jonatanantoni/cmsis/linux.gnu:latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}

- run: |
ln -s /root/.rtebuild /github/home/.rtebuild
cd CMSIS/CoreValidation/Tests
python3 build.py -c GCC -o low build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
43 changes: 43 additions & 0 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Publish Documentation
on:
workflow_dispatch:
push:
branches:
- develop
paths:
- 'CMSIS/DoxyGen/**'
jobs:
docs:
name: Build develop documentation
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Install Doxygen 1.8.6
run: |
wget http://archive.ubuntu.com/ubuntu/pool/main/d/doxygen/doxygen_1.8.6-2_amd64.deb
sudo dpkg -i doxygen_1.8.6-2_amd64.deb
- name: Install mscgen 0.20
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y mscgen=0.20-12
- name: Generate doxygen
run: CMSIS/DoxyGen/gen_doc.sh
- name: Archive documentation
run: |
cd CMSIS/Documentation
tar -cvjf /tmp/doc.tbz2 .
- uses: actions/checkout@v2
with:
ref: gh-pages
- name: Publish documentation
run: |
rm -r develop
mkdir develop
cd develop
tar -xvjf /tmp/doc.tbz2
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "Update develop documentation"
git push
41 changes: 41 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release Documentation
on:
release:
types: [published]
jobs:
docs:
name: Build release documentation
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Install Doxygen 1.8.6
run: |
wget http://archive.ubuntu.com/ubuntu/pool/main/d/doxygen/doxygen_1.8.6-2_amd64.deb
sudo dpkg -i doxygen_1.8.6-2_amd64.deb
- name: Install mscgen 0.20
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y mscgen=0.20-12
- name: Generate doxygen
run: CMSIS/DoxyGen/gen_doc.sh
- name: Archive documentation
run: |
cd CMSIS/Documentation
tar -cvjf /tmp/doc.tbz2 .
- uses: actions/checkout@v2
with:
ref: gh-pages
- name: Publish documentation
run: |
RELEASE=$(echo $GITHUB_REF | sed 's/refs\/tags\///')
mkdir ${RELEASE}
rm latest
ln -s ${RELEASE} latest
cd RELEASE
tar -xvjf /tmp/doc.tbz2
git config user.name github-actions
git config user.email [email protected]
git add . ../latest
git commit -m "Update documentation for release ${RELEASE}"
git push
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ CMSIS/CoreValidation/Tests/build
CMSIS/CoreValidation/Tests/bootloader/build
*.uvguix.*
*.uvmpw.uvgui.*
*.zip
docker/dependenciesFiles
CMSIS/RTOS/RTX/LIB/**/*.a
CMSIS/RTOS/RTX/LIB/**/*.lib
CMSIS/RTOS2/RTX/Library/**/*.a
CMSIS/RTOS2/RTX/Library/**/*.lib
output
Loading

0 comments on commit 13b9f72

Please sign in to comment.