mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-14 00:08:50 -06:00
build: Fixed various issues with the CI and Linux packages (#548)
* Ci: added workflow_dispatch trigger * Ci: removed fetch depth * Ci: Add information to generated artifacts * Ci: Updated Linux runner to Ubuntu 22.04 * Packaging: Updated .deb dependencies * Ci: Removed ELF artifact * Ci: Upgraded actions versions * Ci: Switch to gcc-11 for unit tests and analysis
This commit is contained in:
11
.github/workflows/analysis.yml
vendored
11
.github/workflows/analysis.yml
vendored
@@ -15,18 +15,17 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: 🧰 Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: recursive
|
||||
|
||||
- name: ✋ Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: 'cpp'
|
||||
|
||||
- name: 📜 Restore cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.ccache
|
||||
@@ -42,7 +41,7 @@ jobs:
|
||||
run: |
|
||||
mkdir -p build
|
||||
cd build
|
||||
CC=gcc-10 CXX=g++-10 cmake \
|
||||
CC=gcc-11 CXX=g++-11 cmake \
|
||||
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
|
||||
-DCMAKE_INSTALL_PREFIX="$PWD/install" \
|
||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
||||
@@ -53,4 +52,4 @@ jobs:
|
||||
make -j 4 install
|
||||
|
||||
- name: 🗯️ Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
uses: github/codeql-action/analyze@v2
|
||||
Reference in New Issue
Block a user