Skip to content

Commit 02fcc3e

Browse files
committed
Create binaries for x86 & aarch64
Signed-off-by: Anastassios <[email protected]>
1 parent c544930 commit 02fcc3e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/vaccel_release.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: [ self-hosted, "${{ matrix.arch }}" ]
11+
12+
env:
13+
ARCHI: ${{ matrix.arch }}
14+
15+
strategy:
16+
matrix:
17+
arch: [x86_64, aarch64]
18+
1119

1220
steps:
1321
- name: Checkout code
@@ -39,6 +47,6 @@ jobs:
3947
GITHUB_TOKEN: ${{ secrets.NBFC_BUILDER_TOKEN }}
4048
with:
4149
upload_url: ${{ steps.create_release.outputs.upload_url }}
42-
asset_path: ./build/cargo_target/x86_64-unknown-linux-gnu/release/firecracker
43-
asset_name: firecracker-vaccel
50+
asset_path: ./build/cargo_target/${{env.ARCHI}}-unknown-linux-gnu/release/firecracker
51+
asset_name: firecracker-vaccel-${{env.ARCHI}}
4452
asset_content_type: application/zip

0 commit comments

Comments
 (0)