Skip to content

Commit 8fd740a

Browse files
fake commit for bucket
1 parent 0f45006 commit 8fd740a

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

.github/workflows/upload_artifacts_workflow.yml

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: Upload-Artifacts
33
on:
44
push:
55
branches:
6-
- main
7-
6+
- idanh/fake_commit_for_bucket
87
jobs:
98
artifacts-push:
109
runs-on: ubuntu-24.04
@@ -17,23 +16,43 @@ jobs:
1716
run: |
1817
echo "SHORT_HASH=${COMMIT_SHA:0:7}" >> $GITHUB_ENV
1918
20-
- run: cargo build -r
19+
- name: Install cross
20+
run: cargo install cross
21+
22+
- name: Build all binaries (native and ARM)
23+
run: |
24+
cargo build --release
25+
RUSTFLAGS="-C target-cpu=neoverse-v2 -C opt-level=3 -C codegen-units=1 -C target-feature=+sve" cross build --release --target=aarch64-unknown-linux-gnu
2126
2227
- name: Authenticate with GCS
2328
uses: "google-github-actions/auth@v2"
2429
with:
2530
credentials_json: ${{ secrets.SA_GPS_ARTIFACTS_BUCKET_WRITER_ACCESS_KEY }}
2631

27-
- name: Upload cairo_program_runner binary to GCP
28-
id: upload_cairo_program_runner
32+
- name: Upload cairo_program_runner x86_64 binary to GCP
33+
id: upload_cairo_program_runner_x86
2934
uses: "google-github-actions/upload-cloud-storage@v2"
3035
with:
3136
path: "target/release/cairo_program_runner"
3237
destination: "cairo_program_runner_artifacts/${{ env.SHORT_HASH }}/release"
3338

34-
- name: Upload stwo_vm_runner binary to GCP
35-
id: upload_stwo_vm_runner
39+
- name: Upload stwo_vm_runner x86_64 binary to GCP
40+
id: upload_stwo_vm_runner_x86
3641
uses: "google-github-actions/upload-cloud-storage@v2"
3742
with:
3843
path: "target/release/stwo_vm_runner"
3944
destination: "stwo_vm_runner_artifacts/${{ env.SHORT_HASH }}/release"
45+
46+
- name: Upload cairo_program_runner ARM binary to GCP
47+
id: upload_cairo_program_runner_arm
48+
uses: "google-github-actions/upload-cloud-storage@v2"
49+
with:
50+
path: "target/aarch64-unknown-linux-gnu/release/cairo_program_runner"
51+
destination: "cairo_program_runner_artifacts/0f45006/aarch64-release"
52+
53+
- name: Upload stwo_vm_runner ARM binary to GCP
54+
id: upload_stwo_vm_runner_arm
55+
uses: "google-github-actions/upload-cloud-storage@v2"
56+
with:
57+
path: "target/aarch64-unknown-linux-gnu/release/stwo_vm_runner"
58+
destination: "stwo_vm_runner_artifacts/0f45006/aarch64-release"

0 commit comments

Comments
 (0)