Skip to content

Commit

Permalink
Try advanced configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
carlewis committed May 21, 2024
1 parent 23dbc6a commit 83814fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

schedule:
- cron: '40 8 * * 6'

Expand All @@ -38,10 +39,6 @@ jobs:
include:
- language: c-cpp
build-mode: manual
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages

container:
image: intel/oneapi-basekit:latest
Expand All @@ -61,22 +58,12 @@ jobs:
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
paths:
- '**/*.h'
- '**/*.hpp'
- '**/*.cpp'

# Configure Cmake & Build - no graphics

- name: Configure CMake (no graphics)
if: matrix.build-mode == 'manual'
run: |
Expand Down
1 change: 1 addition & 0 deletions src/fluid/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,6 @@ class FluidSimulationApp : public Magnum::Platform::Application {
Magnum::Shaders::FlatGL2D shader_;
};


// Magnum app initialization.
MAGNUM_APPLICATION_MAIN(FluidSimulationApp)

0 comments on commit 83814fb

Please sign in to comment.