From 19642a1182b876dc6ddd916666b876e0966f14ba Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 14 Jul 2021 09:22:24 +0300 Subject: [PATCH] ci: use `apt-get update` consistently --- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/ci_sanitized.yml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ec03913b1..2b3ebed552 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,12 +48,12 @@ jobs: - uses: actions/checkout@v2 - name: Install dependencies run: | - sudo apt update + sudo apt-get update sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev valgrind sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev ## The following is needed for examples/wkhtmltopdf.v wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb - sudo apt-get install xfonts-75dpi xfonts-base + sudo apt-get install --quiet -y xfonts-75dpi xfonts-base sudo dpkg -i wkhtmltox_0.12.6-1.focal_amd64.deb - name: Build v run: | @@ -112,13 +112,13 @@ jobs: - uses: actions/checkout@v2 - name: Install dependencies run: | - sudo apt update + sudo apt-get update sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev valgrind sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev sudo apt-get install --quiet -y libgc-dev ## The following is needed for examples/wkhtmltopdf.v wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb - sudo apt-get install xfonts-75dpi xfonts-base + sudo apt-get install --quiet -y xfonts-75dpi xfonts-base sudo dpkg -i wkhtmltox_0.12.6-1.focal_amd64.deb - name: Build v run: | @@ -168,7 +168,7 @@ jobs: fetch-depth: 10 - name: Install dependencies run: | - sudo apt update + sudo apt-get update sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev valgrind sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev sudo apt-get install --quiet -y xfonts-75dpi xfonts-base @@ -354,7 +354,7 @@ jobs: node-version: 12.x - name: Install dependencies run: | - sudo apt update + sudo apt-get update sudo apt-get install --quiet -y postgresql libpq-dev libssl-dev sqlite3 libsqlite3-dev valgrind sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev - name: Build V @@ -451,10 +451,10 @@ jobs: node-version: 12.x - name: Install dependencies run: | - sudo apt update + sudo apt-get update sudo apt-get install --quiet -y postgresql libpq-dev libssl-dev sqlite3 libsqlite3-dev valgrind sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev - sudo apt-get install clang + sudo apt-get install --quiet -y clang - name: Build V run: make -j4 && ./v -cc clang -cg -cstrict -o v cmd/v - name: Valgrind diff --git a/.github/workflows/ci_sanitized.yml b/.github/workflows/ci_sanitized.yml index dce157e344..cacdeabe16 100644 --- a/.github/workflows/ci_sanitized.yml +++ b/.github/workflows/ci_sanitized.yml @@ -23,7 +23,7 @@ jobs: node-version: 12.x - name: Install dependencies run: | - sudo apt update + sudo apt-get update sudo apt-get install --quiet -y postgresql libpq-dev libssl-dev sqlite3 libsqlite3-dev valgrind sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev sudo apt-get install clang