Skip to content

Commit ede2431

Browse files
compile arch specific stwos with cargo, no optimization
1 parent 561f9b8 commit ede2431

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/upload_artifacts_workflow.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Upload-Artifacts
33
on:
44
push:
55
branches:
6-
- noamp/compile_arch_with_cargo
6+
- noamp/compile_arch_with_cargo_no_opt
77

88
jobs:
99
artifacts-push:
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Build stwo_run_and_prove for znver5 architecture
5151
run: |
52-
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C target-cpu=znver5 -C opt-level=3 -C codegen-units=1" cargo build --release --target x86_64-unknown-linux-gnu --bin stwo_run_and_prove
52+
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C target-cpu=znver5" cargo build --release --target x86_64-unknown-linux-gnu --bin stwo_run_and_prove
5353
5454
- name: Upload stwo_run_and_prove_znver5 binary to GCP
5555
id: upload_stwo_run_and_prove_znver5
@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: Build stwo_run_and_prove for znver3 architecture
6262
run: |
63-
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C target-cpu=znver3 -C opt-level=3 -C codegen-units=1" cargo build --release --target x86_64-unknown-linux-gnu --bin stwo_run_and_prove
63+
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
6464
6565
- name: Upload stwo_run_and_prove_znver3 binary to GCP
6666
id: upload_stwo_run_and_prove_znver3
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Build stwo_run_and_prove for emeraldrapids architecture
7373
run: |
74-
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C target-cpu=emeraldrapids -C opt-level=3 -C codegen-units=1" cargo build --release --target x86_64-unknown-linux-gnu --bin stwo_run_and_prove
74+
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C target-cpu=emeraldrapids" cargo build --release --target x86_64-unknown-linux-gnu --bin stwo_run_and_prove
7575
7676
- name: Upload stwo_run_and_prove_emeraldrapids binary to GCP
7777
id: upload_stwo_run_and_prove_emeraldrapids
@@ -82,7 +82,7 @@ jobs:
8282

8383
- name: Build stwo_run_and_prove for sapphirerapids architecture
8484
run: |
85-
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C target-cpu=sapphirerapids -C opt-level=3 -C codegen-units=1" cargo build --release --target x86_64-unknown-linux-gnu --bin stwo_run_and_prove
85+
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS="-C target-cpu=sapphirerapids" cargo build --release --target x86_64-unknown-linux-gnu --bin stwo_run_and_prove
8686
8787
- name: Upload stwo_run_and_prove_sapphirerapids binary to GCP
8888
id: upload_stwo_run_and_prove_sapphirerapids

0 commit comments

Comments
 (0)