diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18eee28..3800a99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -114,8 +114,8 @@ jobs: - name: Install lz4 if: runner.os == 'Linux' run: | - sudo apt-get update -y > /dev/null - sudo apt-get install -qqq liblz4-dev > /dev/null + sudo apt-get update -qqq -y + sudo apt-get install -qqq liblz4-dev - name: Cache lz4 id: cache-lz4 @@ -129,7 +129,7 @@ jobs: 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 }}/build/cmake -B${{ env.lz4_build_path }} -DCMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -DCMAKE_INSTALL_PREFIX=${{ env.lz4_installation_path }} + cmake -S${{ env.lz4_path }}/build/cmake -B${{ env.lz4_build_path }} -DCMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -DCMAKE_INSTALL_PREFIX=${{ env.lz4_installation_path }} -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_STATIC_LIBS:BOOL=ON cmake --build ${{ env.lz4_build_path }} --target install -j3