Skip to content

Merge remote-tracking branch 'upstream/develop' into staged-ci #30

Merge remote-tracking branch 'upstream/develop' into staged-ci

Merge remote-tracking branch 'upstream/develop' into staged-ci #30

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@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11
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@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11
with:
category: "/language:c-cpp"