Skip to content

Merge pull request #7531 from ndellingwood/master-release-4.5.00 #32

Merge pull request #7531 from ndellingwood/master-release-4.5.00

Merge pull request #7531 from ndellingwood/master-release-4.5.00 #32

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "master", "develop", "release-*" ]
workflow_call:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
languages: c-cpp
- name: configure
run:
cmake -B build .
-DKokkos_ENABLE_OPENMP=ON
-DCMAKE_CXX_STANDARD=17
-DKokkos_ENABLE_DEPRECATED_CODE_4=OFF
-DKokkos_ENABLE_TESTS=ON
-DKokkos_ENABLE_EXAMPLES=ON
-DKokkos_ENABLE_BENCHMARKS=ON
-DCMAKE_BUILD_TYPE=Debug
- name: build
run:
cmake --build build --parallel 2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
category: "/language:c-cpp"