Skip to content

Commit 784b25b

Browse files
RI-7488: add support for linux arm64 builds
1 parent eaa3ce2 commit 784b25b

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

.github/workflows/pipeline-build-linux.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ jobs:
4747
- name: Install dependencies for root package.js
4848
run: yarn install --frozen-lockfile
4949

50-
- name: Download backend
51-
uses: ./.github/actions/download-backend
52-
5350
- name: Configure Environment Variables
5451
run: |
5552
{
@@ -66,6 +63,9 @@ jobs:
6663
echo "RI_APP_TYPE=${{ env.RI_APP_TYPE }}"
6764
} >> "${{ env.envFile }}"
6865
66+
- name: Download backend
67+
uses: ./.github/actions/download-backend
68+
6969
- name: Build linux package (production)
7070
if: inputs.environment == 'production'
7171
run: |
@@ -77,6 +77,22 @@ jobs:
7777
sed -i "s/^RI_APP_FOLDER_NAME=.*/RI_APP_FOLDER_NAME='.redis-for-vscode-stage'/" ${{ env.envFile }}
7878
yarn package:stage --target linux-x64 --out ${packagePath}
7979
80+
- name: Download backend
81+
uses: ./.github/actions/download-backend
82+
with:
83+
arch: arm64
84+
85+
- name: Build linux package (production)
86+
if: inputs.environment == 'production'
87+
run: |
88+
yarn package:prod --target linux-arm64 --out ${packagePath}
89+
90+
- name: Build linux package (staging)
91+
if: inputs.environment == 'staging'
92+
run: |
93+
sed -i "s/^RI_APP_FOLDER_NAME=.*/RI_APP_FOLDER_NAME='.redis-for-vscode-stage'/" ${{ env.envFile }}
94+
yarn package:stage --target linux-arm64 --out ${packagePath}
95+
8096
- uses: actions/upload-artifact@v4
8197
name: Upload extension artifact
8298
with:

0 commit comments

Comments
 (0)