github: Missed one

This commit is contained in:
WerWolv 2021-09-11 18:11:59 +02:00
parent 8cb7fb71d1
commit b96fee95f3
1 changed files with 0 additions and 3 deletions

View File

@ -56,14 +56,11 @@ jobs:
sudo bash dist/get_deps_debian.sh
- name: Build
run: |
# Get path to magic db
MAGICDB_PATH=$(file --version | grep -oP "(?<=magic file from ).+")
mkdir build
cd build
CC=gcc-10 CXX=g++-10 cmake \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_INSTALL_PREFIX="$PWD/install" \
-DEXTRA_MAGICDBS="$MAGICDB_PATH" \
..
make -j 4 install