From: Nathan Moinvaziri Date: Wed, 23 Oct 2019 00:21:10 +0000 (-0700) Subject: Fixed build when apt-get out of date in GitHub Actions images. X-Git-Tag: 1.9.9-b1~393 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06c6d1d4061a06486d17fd4ff347c6fe4879142e;p=thirdparty%2Fzlib-ng.git Fixed build when apt-get out of date in GitHub Actions images. --- diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 5c149791..72014980 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -257,12 +257,14 @@ jobs: - name: Install packages (Ubuntu) if: runner.os == 'Linux' run: | + sudo apt-get update sudo apt-get install -y ninja-build ${{ matrix.packages }} sudo pip install codecov - name: Install Clang code coverage tools (Ubuntu) if: runner.os == 'Linux' && matrix.codecov && matrix.compiler == 'clang' run: | + sudo apt-get update sudo apt-get install -y gcc-7 clang-7 clang-tools-7 llvm lcov - name: Install packages (Windows) @@ -319,4 +321,4 @@ jobs: codecov -f $gcovfiles -F "${{ matrix.codecov }}" --name "${{ matrix.name }}" env: # Codecov does not yet support GitHub Actions - CODECOV_TOKEN: "${{secrets.CODECOV_TOKEN}}" + CODECOV_TOKEN: "${{secrets.CODECOV_TOKEN}}" \ No newline at end of file