Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
pionere committed Aug 26, 2024
1 parent 2b319ac commit f9b589f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CMake

# When creating a new workflow in GitHub’s action builder the default trigger is the push event. We want to extend this to push and pull request events.
on: [push, pull_request]
#on: [push, pull_request]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Weekly Code Scanning

#on: [push, pull_request]
on:
schedule:
- cron: "0 0 * * 0" # Every Sunday at midnight
on: [push, pull_request]
#on:
# schedule:
# - cron: "0 0 * * 0" # Every Sunday at midnight

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
Expand Down Expand Up @@ -37,7 +37,8 @@ jobs:
matrix:
include:
- language: c-cpp
build-mode: autobuild
#build-mode: autobuild
build-mode: manual
- language: java-kotlin
build-mode: none # This mode only analyzes Java. Set this to 'autobuild' or 'manual' to analyze Kotlin too.
- language: python
Expand Down Expand Up @@ -75,14 +76,13 @@ jobs:
# 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
- if: matrix.build-mode == 'manual'
run: brew bundle install
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
cmake -S. -Bbuild -D DEVILUTIONX_SYSTEM_SDL2=OFF -D HELLFIRE=ON
cmake --build build -j $(sysctl -n hw.physicalcpu) --target package
exit 1
- name: Perform CodeQL Analysis
Expand Down

0 comments on commit f9b589f

Please sign in to comment.