-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 'master'
- Loading branch information
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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.