Skip to content

Commit

Permalink
hmmmmm
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfriesen committed Feb 13, 2024
1 parent e825e1b commit 1a3d014
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,20 @@ on:
type: string
# options:
# - x64
codeql:
required: false
default: false
type: bool
# options:
# - true
# - false


permissions:
actions: read
contents: read
security-events: write # For CodeQL
if: inputs.codeql
security-events: write # For CodeQL

jobs:
build:
Expand Down Expand Up @@ -96,7 +105,7 @@ jobs:
symbolServiceUrl: 'https://artifacts.dev.azure.com'
personalAccessToken: ${{ secrets.AZDO_PAT }}
- name: Perform CodeQL Analysis
if: ${{ github.event_name == 'schedule' }}
if: inputs.codeql
uses: github/codeql-action/analyze@v3
with:
category: "/language:c-cpp"
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,18 @@ jobs:
os: [2019, 2022]
config: [Release, Debug]
arch: [x64]
permissions:
actions: read
contents: read
if: ${{ github.event_name == 'schedule' }}
security-events: write # For CodeQL
uses: ./.github/workflows/build.yml
with:
config: ${{ matrix.config }}
os: ${{ matrix.os }}
arch: ${{ matrix.arch }}
if: ${{ github.event_name == 'schedule' }}
codeql: true

functional_tests:
name: Functional Tests
Expand Down

0 comments on commit 1a3d014

Please sign in to comment.