mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-29 05:55:30 -04:00
[ci] add codeQL static analysis
This commit is contained in:
parent
405fc6bfae
commit
f4be099f08
6 changed files with 60 additions and 9 deletions
51
.github/workflows/codeql.yml
vendored
Normal file
51
.github/workflows/codeql.yml
vendored
Normal file
|
@ -0,0 +1,51 @@
|
|||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths-ignore:
|
||||
- '.gitignore'
|
||||
- '.gitattributes'
|
||||
- 'res/**'
|
||||
- '**.cmd'
|
||||
- '**.md'
|
||||
- '**.rc'
|
||||
- '**.sh'
|
||||
- '**.txt'
|
||||
- '**.xml'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths-ignore:
|
||||
- '.gitignore'
|
||||
- '.gitattributes'
|
||||
- 'res/**'
|
||||
- '**.cmd'
|
||||
- '**.md'
|
||||
- '**.rc'
|
||||
- '**.sh'
|
||||
- '**.txt'
|
||||
- '**.xml'
|
||||
|
||||
env:
|
||||
SOLUTION_FILE_PATH: ./rufus.sln
|
||||
|
||||
jobs:
|
||||
CodeQL-Build:
|
||||
runs-on: windows-latest
|
||||
|
||||
permissions:
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
languages: cpp
|
||||
- name: Add MSBuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1
|
||||
- name: Build
|
||||
run: msbuild ${{env.SOLUTION_FILE_PATH}} /m /p:Configuration=Debug,Platform=x64
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
2
.github/workflows/coverity.yml
vendored
2
.github/workflows/coverity.yml
vendored
|
@ -18,7 +18,7 @@ env:
|
|||
EMAIL: pete@akeo.ie
|
||||
|
||||
jobs:
|
||||
build:
|
||||
Coverity-Build:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
|
|
2
.github/workflows/mingw.yml
vendored
2
.github/workflows/mingw.yml
vendored
|
@ -25,7 +25,7 @@ on:
|
|||
- '**.xml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
MinGW-Build:
|
||||
runs-on: windows-latest
|
||||
|
||||
strategy:
|
||||
|
|
2
.github/workflows/vs2019.yml
vendored
2
.github/workflows/vs2019.yml
vendored
|
@ -28,7 +28,7 @@ env:
|
|||
SOLUTION_FILE_PATH: ./rufus.sln
|
||||
|
||||
jobs:
|
||||
build:
|
||||
VS2019-Build:
|
||||
runs-on: windows-latest
|
||||
|
||||
strategy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue