Skip to content

Commit 3aba932

Browse files
Extends build with linux-arm64. Closes #639 (#641)
1 parent ca64687 commit 3aba932

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

.github/workflows/create-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- win-x64
1414
- win-x86
1515
- linux-x64
16+
- linux-arm64
1617
- osx-x64
1718
env:
1819
release: 'dev-proxy-${{ matrix.architecture }}-${{ github.ref_name }}'

scripts/setup-beta.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ if ($os -match "Windows") {
5555
} elseif ($IsLinux) {
5656
if ($arch -eq "X64") {
5757
$url = "$base_url-linux-x64-$version.zip"
58+
} elseif ($arch -eq "Arm64") {
59+
$url = "$base_url-linux-arm64-$version.zip"
5860
} else {
5961
Write-Host "Unsupported architecture $arch. Aborting"
6062
exit 1

scripts/setup-beta.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if [ "$(uname)" == "Darwin" ]; then
5858
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
5959
ARCH="$(uname -m)"
6060
if [ "$(expr substr ${ARCH} 1 5)" == "arm64" ] || [ "$(expr substr ${ARCH} 1 7)" == "aarch64" ]; then
61-
echo "unsupported architecture ${ARCH}. Aborting"; exit 1;
61+
curl -sL -o ./devproxy.zip "$base_url-linux-arm64-$version.zip" || { echo "Cannot install Dev Proxy. Aborting"; exit 1; }
6262
elif [ "$(expr substr ${ARCH} 1 6)" == "x86_64" ]; then
6363
curl -sL -o ./devproxy.zip "$base_url-linux-x64-$version.zip" || { echo "Cannot install Dev Proxy. Aborting"; exit 1; }
6464
else

scripts/setup.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ if ($os -match "Windows") {
5454
} elseif ($IsLinux) {
5555
if ($arch -eq "X64") {
5656
$url = "$base_url-linux-x64-$version.zip"
57+
} elseif ($arch -eq "Arm64") {
58+
$url = "$base_url-linux-arm64-$version.zip"
5759
} else {
5860
Write-Host "Unsupported architecture $arch. Aborting"
5961
exit 1

scripts/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if [ "$(uname)" == "Darwin" ]; then
5757
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
5858
ARCH="$(uname -m)"
5959
if [ "$(expr substr ${ARCH} 1 5)" == "arm64" ] || [ "$(expr substr ${ARCH} 1 7)" == "aarch64" ]; then
60-
echo "unsupported architecture ${ARCH}. Aborting"; exit 1;
60+
curl -sL -o ./devproxy.zip "$base_url-linux-arm64-$version.zip" || { echo "Cannot install Dev Proxy. Aborting"; exit 1; }
6161
elif [ "$(expr substr ${ARCH} 1 6)" == "x86_64" ]; then
6262
curl -sL -o ./devproxy.zip "$base_url-linux-x64-$version.zip" || { echo "Cannot install Dev Proxy. Aborting"; exit 1; }
6363
else

0 commit comments

Comments
 (0)