-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #276 from VisorFolks/development
Release: Cyancore v1.4.0 [Boron]
- Loading branch information
Showing
28 changed files
with
776 additions
and
955 deletions.
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 |
---|---|---|
|
@@ -19,27 +19,24 @@ jobs: | |
strategy: | ||
fail-fast: true | ||
matrix: | ||
language: ["c", "cpp"] | ||
language: ["cpp"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Configure Git | ||
env: | ||
TOKEN: ${{ secrets.AKASH_VF }} | ||
run: git config --global url."https://${TOKEN}:[email protected]/".insteadOf "https://github.com/" | ||
|
||
- name: Fetch Dependencies | ||
env: | ||
AVRTC: https://github.com/VisorFolks/avr-toolchain.git | ||
RISCVTC: https://github.com/VisorFolks/risc-v-toolchain.git | ||
run: | | ||
sudo apt install cppcheck -y | ||
make get_avr_tc AVR_TC_REPO=${AVRTC} | ||
make get_riscv_tc RISC_V_TC_REPO=${RISCVTC} | ||
make get_avr_tc | ||
make get_riscv_tc | ||
- name: Init CodeQL | ||
uses: github/codeql-action/init@v1 | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
debug: true | ||
|
@@ -53,7 +50,7 @@ jobs: | |
make demo_helios_riscv | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 | ||
uses: github/codeql-action/analyze@v2 | ||
|
||
- name: Clean Up | ||
run: | | ||
|
This file was deleted.
Oops, something went wrong.
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,59 @@ | ||
name: SonarCloud Scan | ||
|
||
on: | ||
push: | ||
branches: | ||
- stable | ||
- development | ||
- helios_stage | ||
pull_request: | ||
branches: | ||
- stable | ||
- development | ||
- helios_stage | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
SONAR_SCANNER_VERSION: 4.4.0.2170 | ||
SONAR_SERVER_URL: "https://sonarcloud.io" | ||
BUILD_WRAPPER_OUT_DIR: bw-output # Directory where build-wrapper output will be placed | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | ||
|
||
- name: Install Dependencies | ||
run: sudo apt install cppcheck -y | ||
|
||
- name: Configure Git | ||
env: | ||
TOKEN: ${{ secrets.AKASH_VF }} | ||
run: git config --global url."https://${TOKEN}:[email protected]/".insteadOf "https://github.com/" | ||
|
||
- name: Get Toolchains | ||
run: | | ||
sudo apt-get install bear | ||
make get_avr_tc AVR_TC_REPO=https://github.com/VisorFolks/avr-toolchain.git | ||
make get_riscv_tc RISC_V_TC_REPO=https://github.com/VisorFolks/risc-v-toolchain.git | ||
- name: Build | ||
run: | | ||
bear make demo_riscv | ||
- uses: actions/checkout@v3 | ||
with: | ||
# Disabling shallow clone is recommended for improving relevancy of reporting | ||
fetch-depth: 0 | ||
- name: SonarCloud Scan | ||
uses: sonarsource/sonarcloud-github-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
with: | ||
args: > | ||
-Dsonar.organization=cyancore | ||
-Dsonar.projectKey=VisorFolks_cyancore | ||
-Dsonar.sources=src | ||
-Dsonar.verbose=true | ||
-Dsonar.cfamily.threads=4 | ||
-Dsonar.cfamily.compile-commands=compile_commands.json |
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
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
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
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
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
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.