Skip to content

Commit 24bf356

Browse files
stwo: add znver4 compilation
1 parent f41cdeb commit 24bf356

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/upload_artifacts_workflow.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Upload-Artifacts
33
on:
44
push:
55
branches:
6-
- main
6+
- noamp/add_znver4_compilation
77

88
jobs:
99
artifacts-push:
@@ -58,6 +58,17 @@ jobs:
5858
path: "target/x86_64-unknown-linux-gnu/release/stwo_run_and_prove"
5959
destination: "stwo_run_and_prove_znver5_artifacts/${{ env.SHORT_HASH }}/release"
6060

61+
- name: Build stwo_run_and_prove for znver4 architecture
62+
run: |
63+
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C target-cpu=znver4" cargo build --release --target x86_64-unknown-linux-gnu --bin stwo_run_and_prove
64+
65+
- name: Upload stwo_run_and_prove_znver4 binary to GCP
66+
id: upload_stwo_run_and_prove_znver4
67+
uses: "google-github-actions/upload-cloud-storage@v2"
68+
with:
69+
path: "target/x86_64-unknown-linux-gnu/release/stwo_run_and_prove"
70+
destination: "stwo_run_and_prove_znver4_artifacts/${{ env.SHORT_HASH }}/release"
71+
6172
- name: Build stwo_run_and_prove for znver3 architecture
6273
run: |
6374
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C target-cpu=znver3" cargo build --release --target x86_64-unknown-linux-gnu --bin stwo_run_and_prove

0 commit comments

Comments
 (0)