Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4a0a39f

Browse filesBrowse files
authored
Buildjet arm64 (#651)
1 parent 9a85951 commit 4a0a39f
Copy full SHA for 4a0a39f

File tree

Expand file treeCollapse file tree

1 file changed

+9
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-4
lines changed

‎.github/workflows/package-extension.yml

Copy file name to clipboardExpand all lines: .github/workflows/package-extension.yml
+9-4Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
os: ["ubuntu-22.04"]
13+
os: ["ubuntu-22.04", "buildjet-4vcpu-ubuntu-2204-arm"]
1414
runs-on: ${{ matrix.os }}
1515
defaults:
1616
run:
@@ -130,14 +130,19 @@ jobs:
130130
for pg in {11..15}; do
131131
export PACKAGE_VERSION=${{ inputs.packageVersion }}
132132
export PGVERSION=${pg}
133-
export ARCH=amd64
133+
134+
if [[ $(arch) == "x86_64" ]]; then
135+
export ARCH=amd64
136+
else
137+
export ARCH=arm64
138+
fi
134139
135140
mkdir -p target/release/pgml-pg${pg}/DEBIAN
136141
(cat control | envsubst) > target/release/pgml-pg${pg}/DEBIAN/control
137-
dpkg-deb --root-owner-group --build target/release/pgml-pg${pg} postgresql-pgml-${pg}_${PACKAGE_VERSION}-ubuntu22.04-amd64.deb
142+
dpkg-deb --root-owner-group --build target/release/pgml-pg${pg} postgresql-pgml-${pg}_${PACKAGE_VERSION}-ubuntu22.04-${ARCH}.deb
138143
139144
deb-s3 upload \
140145
--bucket apt.postgresml.org \
141-
postgresql-pgml-${pg}_${PACKAGE_VERSION}-ubuntu22.04-amd64.deb \
146+
postgresql-pgml-${pg}_${PACKAGE_VERSION}-ubuntu22.04-${ARCH}.deb \
142147
--codename $(lsb_release -cs)
143148
done

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.