From 8cb7fb71d10c84253fddb0b2ac158e70f7dd5b3c Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 11 Sep 2021 18:11:17 +0200 Subject: [PATCH] github: Don't look for magic dbs anymore in CI --- .github/workflows/build.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a5e4cc16f..398adacfd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,15 +27,11 @@ jobs: - 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 @@ -88,18 +84,11 @@ jobs: PYTHON_LIB_NAME=$(pkg-config --libs-only-l python3 | sed 's/^-l//' | sed 's/ //') PYTHON_LIB_PATH=$(cygpath -m $(which lib${PYTHON_LIB_NAME}.dll)) - # Get path to magic db - MAGICDB_PATH=$(cygpath -m $(file --version | grep -oP "(?<=magic file from ).+")) - - echo Python_LIBRARY: $PYTHON_LIB_PATH - echo MagicDB Path: $MAGICDB_PATH - cmake -G "MinGW Makefiles" \ -DCMAKE_BUILD_TYPE=$BUILD_TYPE \ -DCMAKE_INSTALL_PREFIX="$PWD/install" \ -DCREATE_PACKAGE=ON \ -DPython_LIBRARY="$PYTHON_LIB_PATH" \ - -DEXTRA_MAGICDBS="$MAGICDB_PATH" \ .. mingw32-make -j4 mingw32-make install