Update msys2 environment to 240323 level #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CodeQL" | |
on: | |
- push | |
- pull_request | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-22.04 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ C, C++, python ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
queries: +security-and-quality | |
- name: install dependencies | |
run: | | |
sudo apt-get update | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install \ | |
gettext \ | |
libgtk-3-dev \ | |
libgtk-4-dev \ | |
libcurl4-openssl-dev \ | |
libtool \ | |
automake \ | |
autoconf \ | |
autotools-dev \ | |
language-pack-en \ | |
python3.10 \ | |
liblzma-dev \ | |
libicu-dev \ | |
libsqlite3-dev \ | |
qt6-base-dev \ | |
libsdl2-mixer-dev \ | |
libsdl2-gfx-dev \ | |
libsdl2-image-dev \ | |
libsdl2-ttf-dev \ | |
libmysqlclient-dev \ | |
unixodbc-dev | |
- name: build | |
shell: bash | |
run: ./scripts/ci-build.sh normal | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{ matrix.language }}" |