mirror of https://github.com/openXC7/prjxray.git
Add dummy spartan7 scripts until spartan7 CI is debugged.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
77e8b24c88
commit
f6d97588ee
|
|
@ -0,0 +1,44 @@
|
|||
# Format: //devtools/kokoro/config/proto/build.proto
|
||||
|
||||
build_file: "symbiflow-prjxray-continuous-db-spartan7/.github/kokoro/nothing.sh"
|
||||
|
||||
timeout_mins: 4320
|
||||
|
||||
action {
|
||||
define_artifacts {
|
||||
# File types
|
||||
regex: "**/diff.html"
|
||||
regex: "**/diff.json"
|
||||
regex: "**/diff.patch"
|
||||
regex: "**/*result*.xml"
|
||||
regex: "**/*sponge_log.xml"
|
||||
regex: "**/fuzzers/*.tgz"
|
||||
# Whole directories
|
||||
# regex: "**/build/**" - Currently kokoro dies on number of artifacts.
|
||||
regex: "**/build/*.log"
|
||||
regex: "**/logs_*/**"
|
||||
# The database
|
||||
regex: "**/database/spartan7/**"
|
||||
strip_prefix: "github/symbiflow-prjxray-continuous-db-spartan7/"
|
||||
}
|
||||
}
|
||||
|
||||
env_vars {
|
||||
key: "KOKORO_TYPE"
|
||||
value: "continuous"
|
||||
}
|
||||
|
||||
env_vars {
|
||||
key: "KOKORO_DIR"
|
||||
value: "symbiflow-prjxray-continuous-db-spartan7"
|
||||
}
|
||||
|
||||
env_vars {
|
||||
key: "XRAY_SETTINGS"
|
||||
value: "spartan7"
|
||||
}
|
||||
|
||||
env_vars {
|
||||
key: "XRAY_BUILD_TYPE"
|
||||
value: "full"
|
||||
}
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
db_full = """\
|
||||
# Format: //devtools/kokoro/config/proto/build.proto
|
||||
|
||||
build_file: "symbiflow-prjxray-%(kokoro_type)s-db-%(part)s/.github/kokoro/db-full.sh"
|
||||
build_file: "symbiflow-prjxray-%(kokoro_type)s-db-%(part)s/.github/kokoro/%(script)s"
|
||||
|
||||
timeout_mins: 4320
|
||||
|
||||
|
|
@ -56,15 +56,25 @@ env_vars {
|
|||
}
|
||||
"""
|
||||
|
||||
for part in ['artix7', 'kintex7', 'zynq7']:
|
||||
for part in ['artix7', 'kintex7', 'zynq7', 'spartan7']:
|
||||
if part != 'spartan7':
|
||||
script = 'db-full.sh'
|
||||
else:
|
||||
# Emit dummy script for spartan7 for now until it is working.
|
||||
script = 'nothing.sh'
|
||||
|
||||
with open("continuous-db-%s.cfg" % part, "w") as f:
|
||||
f.write(db_full % {
|
||||
'part': part,
|
||||
'kokoro_type': 'continuous',
|
||||
})
|
||||
f.write(
|
||||
db_full % {
|
||||
'part': part,
|
||||
'kokoro_type': 'continuous',
|
||||
'script': script,
|
||||
})
|
||||
|
||||
with open("presubmit-db-%s.cfg" % part, "w") as f:
|
||||
f.write(db_full % {
|
||||
'part': part,
|
||||
'kokoro_type': 'presubmit',
|
||||
})
|
||||
f.write(
|
||||
db_full % {
|
||||
'part': part,
|
||||
'kokoro_type': 'presubmit',
|
||||
'script': script,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
# Copyright (C) 2017-2020 The Project X-Ray Authors.
|
||||
#
|
||||
# Use of this source code is governed by a ISC-style
|
||||
# license that can be found in the LICENSE file or at
|
||||
# https://opensource.org/licenses/ISC
|
||||
#
|
||||
# SPDX-License-Identifier: ISC
|
||||
echo "Doing nothing!"
|
||||
true
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# Format: //devtools/kokoro/config/proto/build.proto
|
||||
|
||||
build_file: "symbiflow-prjxray-presubmit-db-spartan7/.github/kokoro/nothing.sh"
|
||||
|
||||
timeout_mins: 4320
|
||||
|
||||
action {
|
||||
define_artifacts {
|
||||
# File types
|
||||
regex: "**/diff.html"
|
||||
regex: "**/diff.json"
|
||||
regex: "**/diff.patch"
|
||||
regex: "**/*result*.xml"
|
||||
regex: "**/*sponge_log.xml"
|
||||
regex: "**/fuzzers/*.tgz"
|
||||
# Whole directories
|
||||
# regex: "**/build/**" - Currently kokoro dies on number of artifacts.
|
||||
regex: "**/build/*.log"
|
||||
regex: "**/logs_*/**"
|
||||
# The database
|
||||
regex: "**/database/spartan7/**"
|
||||
strip_prefix: "github/symbiflow-prjxray-presubmit-db-spartan7/"
|
||||
}
|
||||
}
|
||||
|
||||
env_vars {
|
||||
key: "KOKORO_TYPE"
|
||||
value: "presubmit"
|
||||
}
|
||||
|
||||
env_vars {
|
||||
key: "KOKORO_DIR"
|
||||
value: "symbiflow-prjxray-presubmit-db-spartan7"
|
||||
}
|
||||
|
||||
env_vars {
|
||||
key: "XRAY_SETTINGS"
|
||||
value: "spartan7"
|
||||
}
|
||||
|
||||
env_vars {
|
||||
key: "XRAY_BUILD_TYPE"
|
||||
value: "full"
|
||||
}
|
||||
Loading…
Reference in New Issue