-
Notifications
You must be signed in to change notification settings - Fork 398
38 lines (36 loc) · 1.19 KB
/
schedule-weekly.yml
File metadata and controls
38 lines (36 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Schedule Weekly
on:
schedule:
- cron: "0 8 * * 3"
workflow_dispatch:
jobs:
bazel-build-fuzzers-weekly:
runs-on:
labels: dind-large
container:
image: ghcr.io/dfinity/ic-build@sha256:a5edec0ae2b045ef86bc957f9a3155a360edc2a273a700eabd0670dc489d809c
options: >-
-e NODE_NAME
timeout-minutes: 60 # 1 hour
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Before script
id: before-script
shell: bash
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
- name: Load Service Account Key to file
env:
FUZZING_GCP_SERVICE_KEY: ${{ secrets.FUZZING_GCP_SERVICE_KEY }}
run: |
echo $FUZZING_GCP_SERVICE_KEY | base64 --decode > bin/fuzzing/fuzzing_service_account.json
- name: Build and Push Fuzzers to GCP
shell: bash
run: |
cd bin/fuzzing/
gcloud auth activate-service-account --key-file fuzzing_service_account.json
./build-all-fuzzers.sh --zip
cd fuzzer_build
gsutil -m cp libfuzzer_asan_linux_*.zip gs://ic_fuzzer_builds
gsutil -m cp afl_asan_linux_*.zip gs://ic_fuzzer_builds