forked from GabrielDosReis/ipr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganized workflows and add msvc analysis
- Loading branch information
Showing
5 changed files
with
89 additions
and
51 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Analysis | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'doc/**' | ||
branches: [ master ] | ||
pull_request: | ||
paths-ignore: | ||
- 'doc/**' | ||
branches: [ master ] | ||
|
||
env: | ||
build: '${{ github.workspace }}/build' | ||
results: '${{ github.workspace }}/build/results' | ||
|
||
jobs: | ||
build: | ||
name: Microsoft C++ Code Analysis | ||
runs-on: windows-2019 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Configure CMake | ||
uses: lukka/run-cmake@v3 | ||
with: | ||
buildDirectory: ${{ env.build }} | ||
buildWithCMake: false | ||
cmakeGenerator: VS16Win64 | ||
|
||
- name: Run Microsoft Visual C++ Analysis | ||
uses: microsoft/msvc-code-analysis-action@redesign | ||
with: | ||
cmakeBuildDirectory: ${{ env.build }} | ||
ignoreSystemHeaders: true | ||
resultsDirectory: ${{ env.results }} | ||
ruleset: AllRules.ruleset | ||
|
||
- name: Upload SARIF as Artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: sarif-files | ||
path: ${{ env.results }} | ||
|
||
- name: Upload SARIF to GitHub | ||
uses: github/codeql-action/upload-sarif@v1 | ||
with: | ||
sarif_file: ${{ env.results }} |
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 |
---|---|---|
@@ -1,27 +1,34 @@ | ||
name: Ubuntu-Docs | ||
name: Docs | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'doc/**' | ||
- '.github/workflows/docs.yaml' | ||
branches: [ master ] | ||
pull_request: | ||
paths: | ||
- 'doc/**' | ||
- '.github/workflows/docs.yaml' | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Build Ubuntu | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install GCC, CMake | ||
run: sudo apt-get install build-essential cmake texlive texlive-latex-extra | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install build-essential cmake texlive texlive-latex-extra | ||
- name: Configure CMake | ||
run: mkdir build && cmake -Bbuild -DBUILD_DOC=ON | ||
|
||
- name: Build project | ||
run: make -C build doc | ||
- name: Configure & Build CMake | ||
uses: lukka/run-cmake@v3 | ||
with: | ||
buildDirectory: build | ||
cmakeAppendedArgs: -DBUILD_DOC=ON | ||
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced | ||
buildWithCMakeArgs: --target doc |
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
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