Skip to content

Commit eaf2243

Browse files
committed
Reorganize test-32bit prerequisites to explain libstdc++6:amd64
This uses the same array+comment style as in 8c71bd1 (#1672).
1 parent 64f2198 commit eaf2243

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,21 @@ jobs:
203203
steps:
204204
- name: Prerequisites
205205
run: |
206-
dpkg --add-architecture amd64 # For 64-bit Node.js, for actions.
206+
prerequisites=(
207+
build-essential
208+
ca-certificates
209+
cmake
210+
curl
211+
git
212+
jq
213+
libssl-dev
214+
libstdc++6:amd64 # To support external 64-bit Node.js for actions.
215+
pkgconf
216+
)
217+
dpkg --add-architecture amd64
207218
apt-get update
208-
apt-get install --no-install-recommends -y build-essential ca-certificates cmake curl git jq libssl-dev libstdc++6:amd64 pkgconf
219+
apt-get install --no-install-recommends -y -- "${prerequisites[@]}"
220+
shell: bash
209221
- uses: actions/checkout@v4
210222
- uses: dtolnay/rust-toolchain@stable
211223
with:

0 commit comments

Comments
 (0)