165042b18Sopenharmony_ci{
265042b18Sopenharmony_ci    "tasks": [
365042b18Sopenharmony_ci        {
465042b18Sopenharmony_ci            "type": "shell",
565042b18Sopenharmony_ci            "label": "ELFIO Test build",
665042b18Sopenharmony_ci            "command": "make",
765042b18Sopenharmony_ci            "args": [
865042b18Sopenharmony_ci                "INCLUDES=-I..",
965042b18Sopenharmony_ci                "CXXFLAGS='-g -O0'"
1065042b18Sopenharmony_ci            ],
1165042b18Sopenharmony_ci            "options": {
1265042b18Sopenharmony_ci                "cwd": "${workspaceRoot}/build/tests"
1365042b18Sopenharmony_ci            },
1465042b18Sopenharmony_ci            "group": {
1565042b18Sopenharmony_ci                "kind": "build",
1665042b18Sopenharmony_ci                "isDefault": true
1765042b18Sopenharmony_ci            },
1865042b18Sopenharmony_ci            "problemMatcher": [
1965042b18Sopenharmony_ci                "$gcc"
2065042b18Sopenharmony_ci            ]
2165042b18Sopenharmony_ci        },
2265042b18Sopenharmony_ci        {
2365042b18Sopenharmony_ci            "type": "shell",
2465042b18Sopenharmony_ci            "label": "ELF Dump Build",
2565042b18Sopenharmony_ci            "command": "make",
2665042b18Sopenharmony_ci            "args": [
2765042b18Sopenharmony_ci                "INCLUDES=-I..",
2865042b18Sopenharmony_ci                "CXXFLAGS='-g -O0'"
2965042b18Sopenharmony_ci            ],
3065042b18Sopenharmony_ci            "options": {
3165042b18Sopenharmony_ci                "cwd": "${workspaceRoot}/build"
3265042b18Sopenharmony_ci            },
3365042b18Sopenharmony_ci            "group": {
3465042b18Sopenharmony_ci                "kind": "build",
3565042b18Sopenharmony_ci                "isDefault": true
3665042b18Sopenharmony_ci            }
3765042b18Sopenharmony_ci        },
3865042b18Sopenharmony_ci        {
3965042b18Sopenharmony_ci            "type": "shell",
4065042b18Sopenharmony_ci            "label": "clang-tidy",
4165042b18Sopenharmony_ci            "command": "clang-tidy",
4265042b18Sopenharmony_ci            "args": [
4365042b18Sopenharmony_ci                "--checks=*,-modernize-use-trailing-return-type,-modernize-avoid-c-arrays,-llvm*,-fuchsia-*,-altera-*",
4465042b18Sopenharmony_ci                "-header-filter=./*",
4565042b18Sopenharmony_ci                "examples/elfdump/elfdump.cpp",
4665042b18Sopenharmony_ci                "--",
4765042b18Sopenharmony_ci                "-I.",
4865042b18Sopenharmony_ci            ],
4965042b18Sopenharmony_ci            "options": {
5065042b18Sopenharmony_ci                "cwd": "${workspaceRoot}"
5165042b18Sopenharmony_ci            },
5265042b18Sopenharmony_ci            "group": {
5365042b18Sopenharmony_ci                "kind": "build",
5465042b18Sopenharmony_ci                "isDefault": true
5565042b18Sopenharmony_ci            },
5665042b18Sopenharmony_ci            "problemMatcher": [
5765042b18Sopenharmony_ci                "$gcc"
5865042b18Sopenharmony_ci            ]
5965042b18Sopenharmony_ci        },
6065042b18Sopenharmony_ci        {
6165042b18Sopenharmony_ci            "type": "shell",
6265042b18Sopenharmony_ci            "label": "Fuzzer",
6365042b18Sopenharmony_ci            "command": "clang",
6465042b18Sopenharmony_ci            "args": [
6565042b18Sopenharmony_ci                "-g",
6665042b18Sopenharmony_ci                "-O0",
6765042b18Sopenharmony_ci                "-fsanitize=fuzzer,address",
6865042b18Sopenharmony_ci                "-I..",
6965042b18Sopenharmony_ci                "elfio_fuzzer.cpp",
7065042b18Sopenharmony_ci                "-o",
7165042b18Sopenharmony_ci                "elfio_fuzzer",
7265042b18Sopenharmony_ci            ],
7365042b18Sopenharmony_ci            "options": {
7465042b18Sopenharmony_ci                "cwd": "${workspaceRoot}/tests"
7565042b18Sopenharmony_ci            },
7665042b18Sopenharmony_ci            "group": {
7765042b18Sopenharmony_ci                "kind": "build",
7865042b18Sopenharmony_ci                "isDefault": true
7965042b18Sopenharmony_ci            },
8065042b18Sopenharmony_ci            "problemMatcher": [
8165042b18Sopenharmony_ci                "$gcc"
8265042b18Sopenharmony_ci            ]
8365042b18Sopenharmony_ci        },
8465042b18Sopenharmony_ci        {
8565042b18Sopenharmony_ci            "type": "shell",
8665042b18Sopenharmony_ci            "label": "Fuzzer Tests",
8765042b18Sopenharmony_ci            "command": "./elfio_fuzzer",
8865042b18Sopenharmony_ci            "args": [
8965042b18Sopenharmony_ci                "-jobs=8",
9065042b18Sopenharmony_ci                "corpus"
9165042b18Sopenharmony_ci            ],
9265042b18Sopenharmony_ci            "options": {
9365042b18Sopenharmony_ci                "cwd": "${workspaceRoot}/tests"
9465042b18Sopenharmony_ci            },
9565042b18Sopenharmony_ci            "group": {
9665042b18Sopenharmony_ci                "kind": "build",
9765042b18Sopenharmony_ci                "isDefault": true
9865042b18Sopenharmony_ci            },
9965042b18Sopenharmony_ci            "problemMatcher": [
10065042b18Sopenharmony_ci                "$gcc"
10165042b18Sopenharmony_ci            ]
10265042b18Sopenharmony_ci        }
10365042b18Sopenharmony_ci    ],
10465042b18Sopenharmony_ci    "version": "2.0.0"
10565042b18Sopenharmony_ci}