Skip to content

Commit 606dd80

Browse files
authored
Fix CI job running out of memory (#2185)
1 parent 9392503 commit 606dd80

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/build-and-test-go.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- "common/**"
1414
- "core/**"
1515
- "metrics/**"
16-
- ".github/workflows/build-go.yml"
16+
- ".github/workflows/build-and-test-go.yml"
1717
env:
1818
FFI_FOR_RELEASE: false
1919
jobs:
@@ -34,18 +34,33 @@ jobs:
3434
- name: Build SP1 bindings
3535
run: make build_sp1_linux
3636

37+
- name: Clean SP1 build artifacts
38+
run: rm -rf operator/sp1/lib/target
39+
3740
- name: Build Risc Zero go bindings
3841
run: make build_risc_zero_linux
3942

43+
- name: Clean Risc Zero build artifacts
44+
run: rm -rf operator/risc_zero/lib/target
45+
4046
- name: Build Merkle Tree bindings
4147
run: make build_merkle_tree_linux
42-
48+
49+
- name: Clean Merkle Tree build artifacts
50+
run: rm -rf operator/merkle_tree/lib/target
51+
4352
- name: Build Mina bindings
4453
run: make build_mina_linux
45-
54+
55+
- name: Clean Mina build artifacts
56+
run: rm -rf operator/mina/lib/target
57+
4658
- name: Build Mina Account bindings
4759
run: make build_mina_account_linux
48-
60+
61+
- name: Clean Mina Account build artifacts
62+
run: rm -rf operator/mina_account/lib/target
63+
4964
- name: Build operator
5065
run: go build operator/cmd/main.go
5166

0 commit comments

Comments
 (0)