summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/fuzzing
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /taskcluster/ci/fuzzing
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'taskcluster/ci/fuzzing')
-rw-r--r--taskcluster/ci/fuzzing/kind.yml64
1 files changed, 64 insertions, 0 deletions
diff --git a/taskcluster/ci/fuzzing/kind.yml b/taskcluster/ci/fuzzing/kind.yml
new file mode 100644
index 0000000000..a0df02fdd4
--- /dev/null
+++ b/taskcluster/ci/fuzzing/kind.yml
@@ -0,0 +1,64 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+---
+loader: gecko_taskgraph.loader.transform:loader
+
+transforms:
+ - gecko_taskgraph.transforms.source_test:transforms
+ - gecko_taskgraph.transforms.job:transforms
+ - gecko_taskgraph.transforms.task:transforms
+
+kind-dependencies:
+ - fetch
+ - toolchain
+ - build
+
+job-defaults:
+ worker-type: b-linux-gcp
+ worker:
+ max-run-time: 3600
+ docker-image: {in-tree: debian11-amd64-build}
+ treeherder:
+ kind: test
+ tier: 3
+ if-dependencies: [build]
+
+jobs:
+ simple:
+ platform: linux64/opt
+ require-build:
+ linux64/opt: build-linux64/opt
+ description: Simple Fuzzing Test
+ treeherder:
+ symbol: simple-fuzzing
+ fetches:
+ build:
+ - target.jsshell.zip
+ - target.fuzztest.tests.tar.gz
+ worker:
+ env:
+ LD_LIBRARY_PATH: /builds/worker/fetches
+ JSSHELL: ./js
+ run:
+ using: run-task
+ command: >-
+ cd $MOZ_FETCHES_DIR &&
+ python3 tools/fuzzing/smoke/smoke.py
+
+ python:
+ platform: linux64-asan-fuzzing/opt
+ require-build:
+ linux64-asan-fuzzing/opt: build-linux64-asan-fuzzing/opt
+ description: Python Fuzzing Smoke Tests
+ treeherder:
+ symbol: fuzzing-python
+ fetches:
+ build:
+ - target.tar.bz2
+ run:
+ using: run-task
+ cwd: '{checkout}'
+ command: >
+ export GECKO_BINARY_PATH=$MOZ_FETCHES_DIR/firefox/firefox &&
+ ./mach python-test --subsuite fuzzing