Skip to content

CodeQL

CodeQL #240

Workflow file for this run

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
on:
push:
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: "0 3 * * 5"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: ["java", "cpp"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "17"
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Build
run: |
sudo add-apt-repository -y ppa:lightzone-team/lightzone
sudo apt update -y
sudo apt install -y \
ant \
javahelp2 \
libejml-java \
libglib2.0-dev \
libjetbrains-annotations-java \
libjiconfont-font-awesome-java \
libjiconfont-google-material-design-icons-java \
libjiconfont-swing-java \
liblcms2-dev \
liblensfun-dev \
liblombok-java \
libraw-dev \
libtiff-dev \
tidy
ant -f linux/build.xml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2