Skip to content

Commit 13b9f72

Browse files
committed
Merge branch 'develop' into 'master'
2 parents 2028526 + 3623c46 commit 13b9f72

File tree

9,074 files changed

+3057502
-2208780
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

9,074 files changed

+3057502
-2208780
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "CodeQL"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ develop ]
7+
pull_request:
8+
# The branches below must be a subset of the branches above
9+
branches: [ develop ]
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
container:
16+
image: ghcr.io/jonatanantoni/cmsis/linux.gnu:latest
17+
permissions:
18+
actions: read
19+
contents: read
20+
security-events: write
21+
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
language: [ 'cpp' ]
26+
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v2
30+
31+
# Initializes the CodeQL tools for scanning.
32+
- name: Initialize CodeQL
33+
uses: github/codeql-action/init@v1
34+
with:
35+
languages: ${{ matrix.language }}
36+
37+
- run: |
38+
ln -s /root/.rtebuild /github/home/.rtebuild
39+
cd CMSIS/CoreValidation/Tests
40+
python3 build.py -c GCC -o low build
41+
42+
- name: Perform CodeQL Analysis
43+
uses: github/codeql-action/analyze@v1

.github/workflows/gh-pages.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Publish Documentation
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- develop
7+
paths:
8+
- 'CMSIS/DoxyGen/**'
9+
jobs:
10+
docs:
11+
name: Build develop documentation
12+
runs-on: ubuntu-20.04
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-node@v1
16+
- name: Install Doxygen 1.8.6
17+
run: |
18+
wget http://archive.ubuntu.com/ubuntu/pool/main/d/doxygen/doxygen_1.8.6-2_amd64.deb
19+
sudo dpkg -i doxygen_1.8.6-2_amd64.deb
20+
- name: Install mscgen 0.20
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install --no-install-recommends -y mscgen=0.20-12
24+
- name: Generate doxygen
25+
run: CMSIS/DoxyGen/gen_doc.sh
26+
- name: Archive documentation
27+
run: |
28+
cd CMSIS/Documentation
29+
tar -cvjf /tmp/doc.tbz2 .
30+
- uses: actions/checkout@v2
31+
with:
32+
ref: gh-pages
33+
- name: Publish documentation
34+
run: |
35+
rm -r develop
36+
mkdir develop
37+
cd develop
38+
tar -xvjf /tmp/doc.tbz2
39+
git config user.name github-actions
40+
git config user.email github-actions@github.com
41+
git add .
42+
git commit -m "Update develop documentation"
43+
git push

.github/workflows/release.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Release Documentation
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
docs:
7+
name: Build release documentation
8+
runs-on: ubuntu-20.04
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v1
12+
- name: Install Doxygen 1.8.6
13+
run: |
14+
wget http://archive.ubuntu.com/ubuntu/pool/main/d/doxygen/doxygen_1.8.6-2_amd64.deb
15+
sudo dpkg -i doxygen_1.8.6-2_amd64.deb
16+
- name: Install mscgen 0.20
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install --no-install-recommends -y mscgen=0.20-12
20+
- name: Generate doxygen
21+
run: CMSIS/DoxyGen/gen_doc.sh
22+
- name: Archive documentation
23+
run: |
24+
cd CMSIS/Documentation
25+
tar -cvjf /tmp/doc.tbz2 .
26+
- uses: actions/checkout@v2
27+
with:
28+
ref: gh-pages
29+
- name: Publish documentation
30+
run: |
31+
RELEASE=$(echo $GITHUB_REF | sed 's/refs\/tags\///')
32+
mkdir ${RELEASE}
33+
rm latest
34+
ln -s ${RELEASE} latest
35+
cd RELEASE
36+
tar -xvjf /tmp/doc.tbz2
37+
git config user.name github-actions
38+
git config user.email github-actions@github.com
39+
git add . ../latest
40+
git commit -m "Update documentation for release ${RELEASE}"
41+
git push

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,10 @@ CMSIS/CoreValidation/Tests/build
88
CMSIS/CoreValidation/Tests/bootloader/build
99
*.uvguix.*
1010
*.uvmpw.uvgui.*
11+
*.zip
12+
docker/dependenciesFiles
13+
CMSIS/RTOS/RTX/LIB/**/*.a
14+
CMSIS/RTOS/RTX/LIB/**/*.lib
15+
CMSIS/RTOS2/RTX/Library/**/*.a
16+
CMSIS/RTOS2/RTX/Library/**/*.lib
17+
output

0 commit comments

Comments
 (0)