fixed CodeQL Workflow

This commit is contained in:
jkriege2 2022-04-22 20:26:55 +02:00
parent 85e60e3e56
commit 1953f080ae

View File

@ -51,7 +51,11 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main
- name: Install dependencies
run: sudo apt -y install build-essential cmake mesa-common-dev libglu1-mesa-dev libfontconfig1 qt5-qmake qtbase5-dev-tools qt5-default libqt5opengl5-dev qtdeclarative5-dev libqt5svg5-dev libqt5x11extras5-dev
run: |
sudo apt-get update
sudo apt-get update --fix-missing
sudo apt-get install -f
sudo apt -y install build-essential cmake mesa-common-dev libglu1-mesa-dev libfontconfig1 qt5-qmake qtbase5-dev-tools qt5-default libqt5opengl5-dev qtdeclarative5-dev libqt5svg5-dev libqt5x11extras5-dev
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
@ -60,7 +64,7 @@ jobs:
mkdir build
cd build
cmake --version
cmake -G "Unix Makefiles" "-DCMAKE_BUILD_TYPE=Release" ..
cmake -G "Unix Makefiles" "-DCMAKE_BUILD_TYPE=Release" "-DJKQtPlotter_BUILD_EXAMPLES:BOOL=OFF" ..
cmake --build . --config "Release"
cd ..