Skip to content

Only check RAR5 signature elsewhere on executables #59

Only check RAR5 signature elsewhere on executables

Only check RAR5 signature elsewhere on executables #59

name: "CodeQL"
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language: ['cpp']
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
path: XADMaster
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
- name: Checkout universaldetector repository
uses: actions/checkout@v3
with:
repository: MacPaw/universal-detector
path: UniversalDetector
- name: Install libs
run: sudo apt-get update && sudo apt-get install --fix-missing build-essential libgnustep-base-dev libz-dev libbz2-dev libssl-dev libicu-dev libwavpack-dev
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# Runs a single command using the runners shell
- name: Build project
run: cd XADMaster && make -f Makefile.linux && cd ../
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2