mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
CI: Add apt update command before installing dependencies.
Without the extra command, all of the CI tests were automatically failing because the Ubuntu servers could not be reached properly.
This commit is contained in:
parent
6bcd516812
commit
dbb3a536ed
1 changed files with 6 additions and 2 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -36,7 +36,9 @@ jobs:
|
|||
# Install Autotools on Linux
|
||||
- name: Install Dependencies
|
||||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'autotools' }}
|
||||
run: sudo apt-get install -y autoconf automake build-essential po4a autopoint gcc-multilib doxygen
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y autoconf automake build-essential po4a autopoint gcc-multilib doxygen
|
||||
|
||||
# Install Autotools on Mac
|
||||
- name: Install Dependencies
|
||||
|
@ -46,7 +48,9 @@ jobs:
|
|||
# Install CMake on Linux
|
||||
- name: Install Dependencies
|
||||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'cmake' }}
|
||||
run: sudo apt-get install -y build-essential cmake
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential cmake
|
||||
|
||||
# Install CMake on Mac
|
||||
- name: Install Dependencies
|
||||
|
|
Loading…
Reference in a new issue