Skip to content

Commit 52e73a7

Browse files
committed
Cross fix
1 parent 9e0ac94 commit 52e73a7

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
- name: Use Node.js
120120
uses: actions/setup-node@v6
121121
with:
122-
node-version: 24
122+
node-version: 25
123123
cache: "pnpm"
124124
cache-dependency-path: ./web/pnpm-lock.yaml
125125

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cross.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
11
[target.x86_64-unknown-linux-gnu]
22
image = "ghcr.io/defguard/cross:x86_64-unknown-linux-gnu"
33
pre-build = [
4+
"dpkg --add-architecture $CROSS_DEB_ARCH",
45
"apt-get update && apt-get install --assume-yes libssl-dev unzip",
56
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
67
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
7-
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"
8+
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr",
89
]
910

1011
[target.armv7-unknown-linux-gnueabihf]
1112
image = "ghcr.io/defguard/cross:armv7-unknown-linux-gnueabihf"
1213
pre-build = [
14+
"dpkg --add-architecture $CROSS_DEB_ARCH",
1315
"apt-get update && apt-get install --assume-yes libssl-dev libssl-dev:$CROSS_DEB_ARCH unzip",
1416
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
1517
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
16-
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"
18+
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr",
1719
]
1820

1921
[target.aarch64-unknown-linux-gnu]
2022
image = "ghcr.io/defguard/cross:aarch64-unknown-linux-gnu"
2123
pre-build = [
24+
"dpkg --add-architecture $CROSS_DEB_ARCH",
2225
"apt-get update && apt-get install --assume-yes libssl-dev libssl-dev:$CROSS_DEB_ARCH unzip",
2326
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
2427
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
25-
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"
28+
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr",
2629
]
2730

2831
[target.x86_64-unknown-freebsd]
@@ -31,5 +34,5 @@ pre-build = [
3134
"apt-get update && apt-get install --assume-yes libssl-dev unzip",
3235
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
3336
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
34-
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"
37+
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr",
3538
]

0 commit comments

Comments
 (0)