mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
76 lines
1.9 KiB
YAML
76 lines
1.9 KiB
YAML
#
|
|
# This file is distributed under the MIT License. See LICENSE.md for details.
|
|
#
|
|
|
|
artifact-categories:
|
|
- name: main
|
|
show-by-default: true
|
|
|
|
containers:
|
|
- name: child_source
|
|
type: ChildDictContainer
|
|
|
|
- name: child_destination
|
|
type: ChildDictContainer
|
|
|
|
- name: root_source
|
|
type: RootDictContainer
|
|
|
|
- name: root_destination
|
|
type: RootDictContainer
|
|
|
|
analysis-lists:
|
|
- name: "all_analyses"
|
|
analyses:
|
|
- AddStuffAnalysis
|
|
- PurgeAllAnalysis
|
|
- "NullAnalysis"
|
|
description: "Alias for all analyses in the pipeline for testing purposes."
|
|
|
|
branches:
|
|
root:
|
|
tasks:
|
|
- pipe: GeneratorPipe
|
|
arguments: [child_source]
|
|
configuration: ""
|
|
analyses:
|
|
- analysis: AddStuffAnalysis
|
|
containers: [child_source]
|
|
- pipe: InPlacePipe
|
|
arguments: [child_source]
|
|
- pipe: SameKindPipe
|
|
arguments: [child_source, child_destination]
|
|
- savepoint: "after_same_kind"
|
|
containers: [child_source, child_destination]
|
|
|
|
second_branch:
|
|
from: root
|
|
tasks:
|
|
- pipe: ToLowerKindPipe
|
|
arguments: [child_destination, root_source]
|
|
artifacts:
|
|
- name: RootArtifact
|
|
container: root_source
|
|
category: main
|
|
analyses:
|
|
- analysis: PurgeAllAnalysis
|
|
containers: [root_source]
|
|
- pipe: ToHigherKindPipe
|
|
arguments: [root_source, child_destination]
|
|
|
|
third_branch:
|
|
from: root
|
|
tasks:
|
|
- pipe: InPlacePipe
|
|
arguments: [child_destination]
|
|
- savepoint: "cachable_artifact_savepoint"
|
|
containers: [child_destination]
|
|
artifacts:
|
|
- name: ChildArtifact
|
|
container: child_destination
|
|
description: An artifact containing all objects in child_destination
|
|
category: main
|
|
analyses:
|
|
- analysis: NullAnalysis
|
|
containers: [child_destination]
|