Skip to content

Commit

Permalink
tests ok
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-near committed Apr 22, 2024
1 parent 5b64543 commit 522400c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master_fuzzer_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: "google-github-actions/auth@v2"
with:
workload_identity_provider: "projects/346595944828/locations/global/workloadIdentityPools/github-pool/providers/github-provider"
service_account: "github-service-account@nearone-services.iam.gserviceaccount.com"
service_account: "github-service-account@nearone-clusterfuzz.iam.gserviceaccount.com"

- name: Installing nightly rust
run: |
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/ondemand_fuzzer_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
workload_identity_provider: "projects/346595944828/locations/global/workloadIdentityPools/github-pool/providers/github-provider"
service_account: "github-service-account@nearone-clusterfuzz.iam.gserviceaccount.com"

# - name: Installing nightly rust
# run: |
# rustup install nightly
# rustup default nightly
- name: Installing nightly rust
run: |
rustup install nightly
rustup default nightly
- uses: baptiste0928/cargo-install@21a18ba3bf4a184d1804e8b759930d3471b1c941
with:
Expand All @@ -65,7 +65,7 @@ jobs:
git: https://github.com/Ekleog-NEAR/bolero
rev: 56da8e6d1d018519a30b36d85d3a53fe35a42eaf

# - run: rustup target add --toolchain nightly wasm32-unknown-unknown
- run: rustup target add --toolchain nightly wasm32-unknown-unknown

- name: "Set up GCP SDK"
uses: "google-github-actions/setup-gcloud@v2"
Expand All @@ -87,7 +87,5 @@ jobs:
- name: "Compile fuzzers and upload to GCS"
run: |
NAME="nearcore-$branch_type-$(env TZ=Etc/UTC date +"%Y%m%d%H%M%S")"
# RUSTFLAGS="--cfg fuzz" cargo +nightly bolero build-clusterfuzz --all-features --profile fuzz
touch clusterfuzz.tar
#gsutil cp -Z target/fuzz/clusterfuzz.tar "gs://nearone_fuzzer_targets/$branch_type/$NAME.tar.gz"
gsutil cp -Z clusterfuzz.tar "gs://nearone_fuzzer_targets/$branch_type/$NAME.tar.gz"
RUSTFLAGS="--cfg fuzz" cargo +nightly bolero build-clusterfuzz --all-features --profile fuzz
gsutil cp -Z target/fuzz/clusterfuzz.tar "gs://nearone_fuzzer_targets/$branch_type/$NAME.tar.gz"

0 comments on commit 522400c

Please sign in to comment.