btrfs-progs: ci: do apt-get update before trying to install
To ensure that package indexes are up to date. That should help to avoid recent failed CI runs, which failed to install certain packages as local cache is out-of-date and remote mirrors no longer provide that specific (and out-of-date) version of package: E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/s/systemd/libudev-dev_255.4-1ubuntu8.1_amd64.deb 404 Not Found [IP: 52.147.219.192 80] Signed-off-by: Yaroslav Halchenko <debian@onerussian.com> [ Minor modification on the commit message. ] Signed-off-by: Qu Wenruo <wqu@suse.com> [ Move cache update to a separate command. ] Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
7e729e95e5
commit
4f040b96cc
|
@ -13,6 +13,7 @@ jobs:
|
|||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev
|
||||
- name: Configure
|
||||
run: ./autogen.sh && ./configure --disable-documentation
|
||||
|
|
|
@ -18,6 +18,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- run: uname -a
|
||||
- run: sudo modprobe btrfs
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev attr jq
|
||||
- name: Configure
|
||||
run: ./autogen.sh && ./configure --disable-documentation
|
||||
|
@ -58,6 +59,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- run: uname -a
|
||||
- run: sudo modprobe btrfs
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev attr jq
|
||||
- name: Configure
|
||||
run: ./autogen.sh && ./configure --disable-documentation
|
||||
|
|
|
@ -14,6 +14,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- run: uname -a
|
||||
- run: sudo modprobe btrfs
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev attr jq lcov
|
||||
- name: Configure
|
||||
run: ./autogen.sh && ./configure --disable-documentation
|
||||
|
|
|
@ -23,6 +23,7 @@ jobs:
|
|||
id: changed-files
|
||||
uses: tj-actions/changed-files@v44
|
||||
- run: sudo modprobe btrfs
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx sphinx-rtd-theme-common python3-sphinx-rtd-theme
|
||||
- name: Configure
|
||||
run: ./autogen.sh && CC=${{ matrix.compiler }} ./configure
|
||||
|
@ -66,6 +67,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: sudo modprobe btrfs
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev libaio-dev liburing-dev attr jq
|
||||
- name: Configure
|
||||
run: ./autogen.sh && CC=${{ matrix.compiler }} ./configure --disable-documentation
|
||||
|
@ -91,6 +93,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: sudo modprobe btrfs
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev libaio-dev liburing-dev attr jq
|
||||
- name: Configure
|
||||
run: ./autogen.sh && ./configure --disable-documentation
|
||||
|
@ -111,6 +114,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: sudo modprobe btrfs
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev libaio-dev liburing-dev attr jq
|
||||
- name: Configure
|
||||
run: ./autogen.sh && ./configure --disable-documentation
|
||||
|
@ -133,6 +137,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: sudo modprobe btrfs
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev libaio-dev liburing-dev attr jq
|
||||
- name: Configure
|
||||
run: ./autogen.sh && ./configure --disable-documentation
|
||||
|
@ -153,6 +158,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: sudo modprobe btrfs
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev libaio-dev liburing-dev attr jq
|
||||
- name: Configure
|
||||
run: ./autogen.sh && ./configure --disable-documentation
|
||||
|
@ -173,6 +179,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: sudo modprobe btrfs
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev libaio-dev liburing-dev attr jq
|
||||
- name: Configure
|
||||
run: ./autogen.sh && ./configure --disable-documentation
|
||||
|
|
|
@ -18,6 +18,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- run: uname -a
|
||||
- run: sudo modprobe btrfs
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev attr jq
|
||||
- name: Configure
|
||||
run: ./autogen.sh && ./configure --disable-documentation
|
||||
|
|
|
@ -15,6 +15,7 @@ jobs:
|
|||
- run: cat /proc/filesystems
|
||||
- run: gcc --version
|
||||
- run: df -HT
|
||||
- run: sudo apt-get update -qqq
|
||||
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev
|
||||
- name: Configure
|
||||
run: ./autogen.sh && ./configure
|
||||
|
|
Loading…
Reference in New Issue