aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-06-07 00:18:30 +0800
committerJia Tan <jiat0218@gmail.com>2023-06-07 00:23:02 +0800
commitdbb3a536ed9873ffa0870321f6873e564c6a9da8 (patch)
tree8d03da4fc4462d6de3438fb37b6e8af5752bab52 /.github/workflows
parentUpdate THANKS. (diff)
downloadxz-dbb3a536ed9873ffa0870321f6873e564c6a9da8.tar.xz
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.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 397a48d1..f08becb9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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