Skip to content

Commit 583b602

Browse files
authored
ci: don't cache apt pkgs for c2rust-testsuite since dpkg-query doesn't work correctly (#1389)
See https://github.com/awalsh128/cache-apt-pkgs-action?tab=readme-ov-file#caveats. We `dpkg-query` all of the packages to ensure they're installed, but this doesn't work with `cache-apt-pkgs-action`. We don't actually need to query these, but it's simpler to just revert this and have CI be much slower.
2 parents 3ffe946 + bc81efc commit 583b602

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/internal-testsuite.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -91,27 +91,27 @@ jobs:
9191
run: rustup component add rustfmt-preview rustc-dev
9292

9393
- name: Provision Debian Packages
94-
uses: awalsh128/cache-apt-pkgs-action@latest
95-
with:
96-
packages: |
97-
build-essential
98-
libbrotli-dev
99-
libclang-${{ matrix.clang-version }}-dev
100-
libgcrypt20
101-
libreadline-dev
102-
libidn2-dev
103-
libldap2-dev
104-
liblzma-dev
105-
libnghttp2-dev
106-
libpcre3-dev
107-
libpsl-dev
108-
librtmp-dev
109-
libtool
110-
libzstd-dev
111-
python3-setuptools
112-
python3-wheel
113-
rcs
114-
zlib1g-dev
94+
run: |
95+
sudo apt-get -qq update
96+
sudo apt-get -qq install \
97+
build-essential \
98+
libbrotli-dev \
99+
libclang-${{ matrix.clang-version }}-dev \
100+
libgcrypt20 \
101+
libreadline-dev \
102+
libidn2-dev \
103+
libldap2-dev \
104+
liblzma-dev \
105+
libnghttp2-dev \
106+
libpcre3-dev \
107+
libpsl-dev \
108+
librtmp-dev \
109+
libtool \
110+
libzstd-dev \
111+
python3-setuptools \
112+
python3-wheel \
113+
rcs \
114+
zlib1g-dev
115115
116116
# installs intercept-build to $HOME/.local/bin
117117
- name: Provision Python Packages

0 commit comments

Comments
 (0)