diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7d8bf1..d321022 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ on: create: null env: - debianRequirements: "build-essential git zlib1g-dev cmake qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools qt6-declarative-dev qt6-base-dev qt6-base-dev-tools qt6-translations-l10n libqt6opengl6-dev libgl1-mesa-dev wget curl devscripts" + debianRequirements: "build-essential git zlib1g-dev liblz4-dev cmake qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools qt6-declarative-dev qt6-base-dev qt6-base-dev-tools qt6-translations-l10n libqt6opengl6-dev libgl1-mesa-dev wget curl devscripts" jobs: main_build: @@ -53,7 +53,7 @@ jobs: lz4_path: ${{ github.workspace }}/../lz4-git lz4_build_path: ${{ github.workspace }}/../build-lz4-git lz4_installation_path: C:/lz4 - lz4_version: "1.3" + lz4_version: "1.9.4" deling_build_path: ${{ github.workspace }}/../build-deling deling_installation_path: ${{ github.workspace }}/../installation-deling deling_appbundle_path: ${{ github.workspace }}/../appbundle-deling @@ -111,6 +111,12 @@ jobs: cmake -S${{ env.zlib_path }} -B${{ env.zlib_build_path }} -DCMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -DCMAKE_INSTALL_PREFIX=${{ env.zlib_installation_path }} cmake --build ${{ env.zlib_build_path }} --target install -j3 + - name: Install lz4 + if: runner.os == 'Linux' + run: | + sudo apt-get update -y > /dev/null + sudo apt-get install -qqq liblz4-dev > /dev/null + - name: Cache lz4 id: cache-lz4 if: runner.os == 'Windows' @@ -119,13 +125,14 @@ jobs: path: ${{ env.lz4_installation_path }} key: ${{ runner.os }}${{ matrix.win_arch }}-lz4-${{ env.lz4_version}} - - name: Install lz4 + - name: Install lz4 Windows if: (runner.os == 'Windows') && (steps.cache-lz4.outputs.cache-hit != 'true') run: | git clone -q --depth 1 --single-branch --branch=v${{ env.lz4_version }} https://github.com/lz4/lz4 ${{ env.lz4_path }} cmake -S${{ env.lz4_path }} -B${{ env.lz4_build_path }} -DCMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -DCMAKE_INSTALL_PREFIX=${{ env.lz4_installation_path }} cmake --build ${{ env.lz4_build_path }} --target install -j3 + - name: Download linuxdeployqt if: runner.os == 'Linux' run: |