Disable metasims right now | Fix build.yaml parsing

This commit is contained in:
abejgonzalez 2023-05-13 12:25:30 -07:00
parent 82a8b58eda
commit 3edc20f0af
3 changed files with 18 additions and 18 deletions

View File

@ -58,7 +58,7 @@ def run_parallel_metasim():
else:
print(f"Workload {workload} successful.")
run_w_timeout(f"{ci_env['GITHUB_WORKSPACE']}/deploy/workloads/ci/hello-world-localhost-vcs-metasim.yaml", "45m")
run_w_timeout(f"{ci_env['REMOTE_WORK_DIR']}/deploy/workloads/ci/hello-world-localhost-vcs-metasim.yaml", "45m")
if __name__ == "__main__":
execute(run_parallel_metasim, hosts=["localhost"])

View File

@ -65,7 +65,7 @@ def run_xclbin_buildbitstream():
if "- firesim" in line:
# comment out AWS specific lines
byf.write("# " + line + '\n')
elif "- {hwdb_entry_to_gen}" in line:
elif f"- {hwdb_entry_to_gen}" in line:
# remove comment
byf.write(line.replace("# ", '') + '\n')
elif 'default_build_dir:' in line:

View File

@ -440,22 +440,22 @@ jobs:
- name: Check Vitis docs components that require manual re-generation (e.g. config_runtime.yaml example)
run: ./.github/scripts/check-vitis-docs-generated-components.py
run-parallel-vcs-metasims-and-vitis-driver:
name: run-parallel-vcs-metasims-and-vitis-driver
needs: [setup-local-fpga-repo]
runs-on: local-fpga
steps:
# This forces a fresh clone of the repo during the `checkout` step
# to resolve stale submodule URLs. See https://github.com/ucb-bar/chipyard/pull/1156.
- name: Delete old checkout
run: |
rm -rf ${{ github.workspace }}/* || true
rm -rf ${{ github.workspace }}/.* || true
- uses: actions/checkout@v3
- name: Run parallel VCS metasims
run: .github/scripts/run-parallel-vcs-metasims.py
- name: Build Vitis driver
run: .github/scripts/build-vitis-driver.py
#run-parallel-vcs-metasims-and-vitis-driver:
# name: run-parallel-vcs-metasims-and-vitis-driver
# needs: [setup-local-fpga-repo]
# runs-on: local-fpga
# steps:
# # This forces a fresh clone of the repo during the `checkout` step
# # to resolve stale submodule URLs. See https://github.com/ucb-bar/chipyard/pull/1156.
# - name: Delete old checkout
# run: |
# rm -rf ${{ github.workspace }}/* || true
# rm -rf ${{ github.workspace }}/.* || true
# - uses: actions/checkout@v3
# - name: Run parallel VCS metasims
# run: .github/scripts/run-parallel-vcs-metasims.py
# - name: Build Vitis driver
# run: .github/scripts/build-vitis-driver.py
run-basic-linux-poweroff-vitis:
if: contains(github.event.pull_request.labels.*.name, 'ci:fpga-deploy')