-
Notifications
You must be signed in to change notification settings - Fork 19
69 lines (67 loc) · 2.06 KB
/
main.yml
File metadata and controls
69 lines (67 loc) · 2.06 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: "Main"
on:
workflow_dispatch:
push:
branches:
- main
jobs:
# call-dev-workflow:
# uses: ./.github/workflows/dev.yml
# secrets: inherit
# permissions:
# contents: read
# packages: write
#
# system-tests:
# uses: DataDog/system-tests/.github/workflows/system-tests.yml@main
# secrets: inherit
# permissions:
# contents: read
# packages: write
# with:
# library: cpp
# binaries_artifact: binaries
# desired_execution_time: 300 # 5 minutes
# scenarios: PARAMETRIC
# skip_empty_scenarios: true
# _system_tests_dev_mode: true
# display_summary: true
#
# # Ensure the main job is run to completion
# check-system-tests:
# needs: system-tests
# name: Check system tests success
# runs-on: ubuntu-latest
# steps:
# - run: exit 0
#
fuzz-testing:
# needs: call-dev-workflow
# runs-on: ubuntu-22.04-arm
runs-on: ubuntu-22.04
container:
# image: datadog/docker-library:dd-trace-cpp-ci-91c12776-arm64
image: datadog/docker-library:dd-trace-cpp-ci-5f5c273-amd64
env:
DURATION_SEC: 300 # 5min
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Configure
run: bin/with-toolchain llvm cmake . -B .build -DCMAKE_BUILD_TYPE=Debug -DDD_TRACE_BUILD_FUZZERS=1 -DDD_TRACE_ENABLE_SANITIZE=1
- name: Build
run: cmake --build .build -j --target dd_trace_cpp-fuzzers
- name: Run W3C propagation fuzzer
uses: ./.github/actions/fuzzer
with:
binary: ./.build/fuzz/w3c-propagation/w3c-propagation-fuzz
duration_seconds: ${DURATION_SEC}
- name: Run Base64 fuzzer
uses: ./.github/actions/fuzzer
with:
binary: ./.build/fuzz/base64/base64-fuzz
duration_seconds: ${DURATION_SEC}
- name: Run Remote Configuration fuzzer
uses: ./.github/actions/fuzzer
with:
binary: ./.build/fuzz/remote-configuration/remote-config-fuzz
duration_seconds: ${DURATION_SEC}