33 lines
735 B
YAML
Raw Normal View History

2023-07-19 14:19:59 -03:00
name: "CodeQL Scanning"
# https://github.com/github/codeql-action
on:
2024-01-26 12:22:03 -03:00
schedule:
- cron: '30 2 * * *' # run at 2:30 AM UTC
# Allow manual runs
workflow_dispatch:
2023-07-19 14:19:59 -03:00
2023-07-19 15:10:28 -03:00
env:
IPV6: 0
2023-07-19 14:19:59 -03:00
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
permissions:
security-events: write
steps:
- uses: actions/checkout@v3
with: { fetch-depth: 2 }
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
2023-07-19 14:25:32 -03:00
with:
languages: cpp
2023-07-19 14:19:59 -03:00
- run: |
2024-04-19 18:28:13 -03:00
make -C test test CC=gcc ASAN= ASAN_OPTIONS=
./test/setup_ga_network.sh && make -C test mip_test CC=gcc ASAN= ASAN_OPTIONS=
2023-07-19 14:19:59 -03:00
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2