Skip to content

Commit baa751f

Browse files
committed
adds support for aarch64 architecture in CI workflow by updating Rust toolchain targets and cache key
1 parent 2796831 commit baa751f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build_and_deploy_containers.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ env:
1616
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1717
BACKEND_IMAGE_NAME: rust-backend
1818
FRONTEND_IMAGE_NAME: nextjs-frontend
19-
OPENSSL_DIR: /usr/local/ssl
2019

2120
jobs:
2221
build_test_run:
@@ -58,13 +57,13 @@ jobs:
5857
- name: Install Rust toolchain
5958
uses: dtolnay/rust-toolchain@stable
6059
with:
61-
targets: x86_64-unknown-linux-gnu
60+
targets: x86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu
6261

6362
# Cache Rust dependencies for faster builds
6463
- name: Use cached dependencies
6564
uses: Swatinem/rust-cache@v2
6665
with:
67-
key: "ubuntu-22.04-x86_64-unknown-linux-gnu"
66+
key: "ubuntu-22.04-x86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu"
6867

6968
# Install seaORM CLI for database migrations
7069
- name: Install seaORM CLI

0 commit comments

Comments
 (0)