Remove setup-repo, don't set custom REMOTE_WORK_DIR
This commit is contained in:
290
.github/workflows/chipyard-run-tests-gpu.yml
vendored
290
.github/workflows/chipyard-run-tests-gpu.yml
vendored
@@ -13,7 +13,6 @@ defaults:
|
|||||||
env:
|
env:
|
||||||
tools-cache-version: v17
|
tools-cache-version: v17
|
||||||
CI_DIR: ${{ secrets.BUILDDIR }}
|
CI_DIR: ${{ secrets.BUILDDIR }}
|
||||||
REMOTE_WORK_DIR: ${{ secrets.BUILDDIR }}/cy-ci-shared/cy-${{ github.sha }}
|
|
||||||
JVM_OPTS: -Xmx3200m # Customize the JVM maximum heap limit
|
JVM_OPTS: -Xmx3200m # Customize the JVM maximum heap limit
|
||||||
conda-env-name-no-time: cy-${{ github.run_id }}
|
conda-env-name-no-time: cy-${{ github.run_id }}
|
||||||
workflow-timestamp: ${{ github.event.pull_request.updated_at }}
|
workflow-timestamp: ${{ github.event.pull_request.updated_at }}
|
||||||
@@ -90,29 +89,29 @@ jobs:
|
|||||||
- name: Create conda env
|
- name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
uses: ./.github/actions/create-conda-env
|
||||||
|
|
||||||
setup-repo:
|
# setup-repo:
|
||||||
name: setup-repo
|
# name: setup-repo
|
||||||
needs: create-conda-env
|
# needs: create-conda-env
|
||||||
if: needs.change-filters.outputs.needs-rtl == 'true'
|
# if: needs.change-filters.outputs.needs-rtl == 'true'
|
||||||
runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
# steps:
|
||||||
- name: Delete old checkout
|
# - name: Delete old checkout
|
||||||
run: |
|
# run: |
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
rm -rf ${{ github.workspace }}/* || true
|
# rm -rf ${{ github.workspace }}/* || true
|
||||||
rm -rf ${{ github.workspace }}/.* || true
|
# rm -rf ${{ github.workspace }}/.* || true
|
||||||
ls -alh .
|
# ls -alh .
|
||||||
- uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
- name: Setup repo copy
|
# - name: Setup repo copy
|
||||||
run: |
|
# run: |
|
||||||
git clone $GITHUB_WORKSPACE ${{ env.REMOTE_WORK_DIR }}
|
# git clone $GITHUB_WORKSPACE ${{ env.REMOTE_WORK_DIR }}
|
||||||
|
|
||||||
# Sentinel job to simplify how we specify which that basic setup is complete
|
# Sentinel job to simplify how we specify which that basic setup is complete
|
||||||
#
|
#
|
||||||
# When adding new prep jobs, please add them to `needs` below
|
# When adding new prep jobs, please add them to `needs` below
|
||||||
setup-complete:
|
setup-complete:
|
||||||
name: setup-complete
|
name: setup-complete
|
||||||
needs: setup-repo
|
needs: [create-conda-env]
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Set up complete
|
- name: Set up complete
|
||||||
@@ -166,127 +165,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
group-key: "group-gpu"
|
group-key: "group-gpu"
|
||||||
|
|
||||||
# prepare-chipyard-accels:
|
|
||||||
# name: prepare-chipyard-accels
|
|
||||||
# needs: setup-complete
|
|
||||||
# runs-on: self-hosted
|
|
||||||
# steps:
|
|
||||||
# - name: Delete old checkout
|
|
||||||
# run: |
|
|
||||||
# ls -alh .
|
|
||||||
# rm -rf ${{ github.workspace }}/* || true
|
|
||||||
# rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
# ls -alh .
|
|
||||||
# - name: Checkout
|
|
||||||
# uses: actions/checkout@v3
|
|
||||||
# - name: Git workaround
|
|
||||||
# uses: ./.github/actions/git-workaround
|
|
||||||
# - name: Create conda env
|
|
||||||
# uses: ./.github/actions/create-conda-env
|
|
||||||
# - name: Build RTL on self-hosted
|
|
||||||
# uses: ./.github/actions/prepare-rtl
|
|
||||||
# with:
|
|
||||||
# group-key: "group-accels"
|
|
||||||
|
|
||||||
# prepare-chipyard-other:
|
|
||||||
# name: prepare-chipyard-other
|
|
||||||
# needs: setup-complete
|
|
||||||
# runs-on: self-hosted
|
|
||||||
# steps:
|
|
||||||
# - name: Delete old checkout
|
|
||||||
# run: |
|
|
||||||
# ls -alh .
|
|
||||||
# rm -rf ${{ github.workspace }}/* || true
|
|
||||||
# rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
# ls -alh .
|
|
||||||
# - name: Checkout
|
|
||||||
# uses: actions/checkout@v3
|
|
||||||
# - name: Git workaround
|
|
||||||
# uses: ./.github/actions/git-workaround
|
|
||||||
# - name: Create conda env
|
|
||||||
# uses: ./.github/actions/create-conda-env
|
|
||||||
# - name: Build RTL on self-hosted
|
|
||||||
# uses: ./.github/actions/prepare-rtl
|
|
||||||
# with:
|
|
||||||
# group-key: "group-other"
|
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
# chipyard-spike-gemmini-run-tests:
|
|
||||||
# name: chipyard-spike-gemmini-run-tests
|
|
||||||
# needs: prepare-chipyard-accels # technically doesn't depend on RTL but should be after the build.sh for Gemmini
|
|
||||||
# runs-on: self-hosted
|
|
||||||
# steps:
|
|
||||||
# - name: Delete old checkout
|
|
||||||
# run: |
|
|
||||||
# ls -alh .
|
|
||||||
# rm -rf ${{ github.workspace }}/* || true
|
|
||||||
# rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
# ls -alh .
|
|
||||||
# - name: Checkout
|
|
||||||
# uses: actions/checkout@v3
|
|
||||||
# - name: Git workaround
|
|
||||||
# uses: ./.github/actions/git-workaround
|
|
||||||
# - name: Create conda env
|
|
||||||
# uses: ./.github/actions/create-conda-env
|
|
||||||
# - name: Build Gemmini FireMarshal
|
|
||||||
# run: |
|
|
||||||
# conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
|
||||||
# cd ${{ github.workspace }} && ./scripts/init-submodules-no-riscv-tools.sh --force
|
|
||||||
# cd ${{ github.workspace }} && source ./scripts/fix-open-files.sh
|
|
||||||
# git submodule update --init software/firemarshal && cd software/firemarshal && ./init-submodules.sh
|
|
||||||
# cd ${{ github.workspace }}/generators/gemmini/software && ${{ github.workspace }}/software/firemarshal/marshal -v -d build gemmini-smoke.json
|
|
||||||
# - name: Running Gemmini FireMarshal smoke test
|
|
||||||
# run: |
|
|
||||||
# conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
|
||||||
# cd ${{ github.workspace }}/generators/gemmini/software && ${{ github.workspace }}/software/firemarshal/marshal -v -d launch -s gemmini-smoke.json
|
|
||||||
|
|
||||||
# chipyard-rocket-run-tests:
|
|
||||||
# name: chipyard-rocket-run-tests
|
|
||||||
# needs: prepare-chipyard-cores
|
|
||||||
# runs-on: self-hosted
|
|
||||||
# steps:
|
|
||||||
# - name: Delete old checkout
|
|
||||||
# run: |
|
|
||||||
# ls -alh .
|
|
||||||
# rm -rf ${{ github.workspace }}/* || true
|
|
||||||
# rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
# ls -alh .
|
|
||||||
# - name: Checkout
|
|
||||||
# uses: actions/checkout@v3
|
|
||||||
# - name: Git workaround
|
|
||||||
# uses: ./.github/actions/git-workaround
|
|
||||||
# - name: Create conda env
|
|
||||||
# uses: ./.github/actions/create-conda-env
|
|
||||||
# - name: Run tests
|
|
||||||
# uses: ./.github/actions/run-tests
|
|
||||||
# with:
|
|
||||||
# group-key: "group-cores"
|
|
||||||
# project-key: "chipyard-rocket"
|
|
||||||
|
|
||||||
# chipyard-boom-run-tests:
|
|
||||||
# name: chipyard-boom-run-tests
|
|
||||||
# needs: prepare-chipyard-cores
|
|
||||||
# runs-on: self-hosted
|
|
||||||
# steps:
|
|
||||||
# - name: Delete old checkout
|
|
||||||
# run: |
|
|
||||||
# ls -alh .
|
|
||||||
# rm -rf ${{ github.workspace }}/* || true
|
|
||||||
# rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
# ls -alh .
|
|
||||||
# - name: Checkout
|
|
||||||
# uses: actions/checkout@v3
|
|
||||||
# - name: Git workaround
|
|
||||||
# uses: ./.github/actions/git-workaround
|
|
||||||
# - name: Create conda env
|
|
||||||
# uses: ./.github/actions/create-conda-env
|
|
||||||
# - name: Run tests
|
|
||||||
# uses: ./.github/actions/run-tests
|
|
||||||
# with:
|
|
||||||
# group-key: "group-cores"
|
|
||||||
# project-key: "chipyard-boom"
|
|
||||||
|
|
||||||
chipyard-vortex-run-tests:
|
chipyard-vortex-run-tests:
|
||||||
name: chipyard-vortex-run-tests
|
name: chipyard-vortex-run-tests
|
||||||
needs: prepare-chipyard-gpu
|
needs: prepare-chipyard-gpu
|
||||||
@@ -356,137 +236,6 @@ jobs:
|
|||||||
group-key: "group-gpu"
|
group-key: "group-gpu"
|
||||||
project-key: "coalescer"
|
project-key: "coalescer"
|
||||||
|
|
||||||
# chipyard-spike-run-tests:
|
|
||||||
# name: chipyard-spike-run-tests
|
|
||||||
# needs: prepare-chipyard-cores
|
|
||||||
# runs-on: self-hosted
|
|
||||||
# steps:
|
|
||||||
# - name: Delete old checkout
|
|
||||||
# run: |
|
|
||||||
# ls -alh .
|
|
||||||
# rm -rf ${{ github.workspace }}/* || true
|
|
||||||
# rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
# ls -alh .
|
|
||||||
# - name: Checkout
|
|
||||||
# uses: actions/checkout@v3
|
|
||||||
# - name: Git workaround
|
|
||||||
# uses: ./.github/actions/git-workaround
|
|
||||||
# - name: Create conda env
|
|
||||||
# uses: ./.github/actions/create-conda-env
|
|
||||||
# - name: Run tests
|
|
||||||
# uses: ./.github/actions/run-tests
|
|
||||||
# with:
|
|
||||||
# group-key: "group-cores"
|
|
||||||
# project-key: "chipyard-spike"
|
|
||||||
|
|
||||||
# chipyard-gemmini-run-tests:
|
|
||||||
# name: chipyard-gemmini-run-tests
|
|
||||||
# needs: prepare-chipyard-accels
|
|
||||||
# runs-on: self-hosted
|
|
||||||
# steps:
|
|
||||||
# - name: Delete old checkout
|
|
||||||
# run: |
|
|
||||||
# ls -alh .
|
|
||||||
# rm -rf ${{ github.workspace }}/* || true
|
|
||||||
# rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
# ls -alh .
|
|
||||||
# - name: Checkout
|
|
||||||
# uses: actions/checkout@v3
|
|
||||||
# - name: Git workaround
|
|
||||||
# uses: ./.github/actions/git-workaround
|
|
||||||
# - name: Create conda env
|
|
||||||
# uses: ./.github/actions/create-conda-env
|
|
||||||
# - name: Run tests
|
|
||||||
# uses: ./.github/actions/run-tests
|
|
||||||
# with:
|
|
||||||
# group-key: "group-accels"
|
|
||||||
# project-key: "chipyard-gemmini"
|
|
||||||
|
|
||||||
# chipyard-nvdla-run-tests:
|
|
||||||
# name: chipyard-nvdla-run-tests
|
|
||||||
# needs: prepare-chipyard-accels
|
|
||||||
# runs-on: self-hosted
|
|
||||||
# steps:
|
|
||||||
# - name: Delete old checkout
|
|
||||||
# run: |
|
|
||||||
# ls -alh .
|
|
||||||
# rm -rf ${{ github.workspace }}/* || true
|
|
||||||
# rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
# ls -alh .
|
|
||||||
# - name: Checkout
|
|
||||||
# uses: actions/checkout@v3
|
|
||||||
# - name: Git workaround
|
|
||||||
# uses: ./.github/actions/git-workaround
|
|
||||||
# - name: Create conda env
|
|
||||||
# uses: ./.github/actions/create-conda-env
|
|
||||||
# - name: Run tests
|
|
||||||
# uses: ./.github/actions/run-tests
|
|
||||||
# with:
|
|
||||||
# group-key: "group-accels"
|
|
||||||
# project-key: "chipyard-nvdla"
|
|
||||||
|
|
||||||
# testchipip-run-tests:
|
|
||||||
# name: testchipip-run-tests
|
|
||||||
# needs: prepare-chipyard-other
|
|
||||||
# runs-on: self-hosted
|
|
||||||
# steps:
|
|
||||||
# - name: Delete old checkout
|
|
||||||
# run: |
|
|
||||||
# ls -alh .
|
|
||||||
# rm -rf ${{ github.workspace }}/* || true
|
|
||||||
# rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
# ls -alh .
|
|
||||||
# - name: Checkout
|
|
||||||
# uses: actions/checkout@v3
|
|
||||||
# - name: Git workaround
|
|
||||||
# uses: ./.github/actions/git-workaround
|
|
||||||
# - name: Create conda env
|
|
||||||
# uses: ./.github/actions/create-conda-env
|
|
||||||
# - name: Run tests
|
|
||||||
# uses: ./.github/actions/run-tests
|
|
||||||
# with:
|
|
||||||
# group-key: "group-other"
|
|
||||||
# project-key: "testchipip"
|
|
||||||
|
|
||||||
# rocketchip-run-tests:
|
|
||||||
# name: rocketchip-run-tests
|
|
||||||
# needs: prepare-chipyard-other
|
|
||||||
# runs-on: self-hosted
|
|
||||||
# steps:
|
|
||||||
# - name: Delete old checkout
|
|
||||||
# run: |
|
|
||||||
# ls -alh .
|
|
||||||
# rm -rf ${{ github.workspace }}/* || true
|
|
||||||
# rm -rf ${{ github.workspace }}/.* || true
|
|
||||||
# ls -alh .
|
|
||||||
# - name: Checkout
|
|
||||||
# uses: actions/checkout@v3
|
|
||||||
# - name: Git workaround
|
|
||||||
# uses: ./.github/actions/git-workaround
|
|
||||||
# - name: Create conda env
|
|
||||||
# uses: ./.github/actions/create-conda-env
|
|
||||||
# - name: Run amba tests
|
|
||||||
# uses: ./.github/actions/run-tests
|
|
||||||
# with:
|
|
||||||
# group-key: "group-other"
|
|
||||||
# project-key: "rocketchip-amba"
|
|
||||||
# # Below tests segfault with verilator, work fine in VCS
|
|
||||||
# # - name: Run tlsimple tests
|
|
||||||
# # uses: ./.github/actions/run-tests
|
|
||||||
# # with:
|
|
||||||
# # group-key: "group-other"
|
|
||||||
# # project-key: "rocketchip-tlsimple"
|
|
||||||
# # - name: Run tlwidth tests
|
|
||||||
# # uses: ./.github/actions/run-tests
|
|
||||||
# # with:
|
|
||||||
# # group-key: "group-other"
|
|
||||||
# # project-key: "rocketchip-tlwidth"
|
|
||||||
# # - name: Run tlxbar tests
|
|
||||||
# # uses: ./.github/actions/run-tests
|
|
||||||
# # with:
|
|
||||||
# # group-key: "group-other"
|
|
||||||
# # project-key: "rocketchip-tlxbar"
|
|
||||||
|
|
||||||
# Sentinel job to simplify how we specify which checks need to pass in branch
|
# Sentinel job to simplify how we specify which checks need to pass in branch
|
||||||
# protection and in Mergify
|
# protection and in Mergify
|
||||||
#
|
#
|
||||||
@@ -494,14 +243,9 @@ jobs:
|
|||||||
all_tests_passed:
|
all_tests_passed:
|
||||||
name: "all tests passed"
|
name: "all tests passed"
|
||||||
needs: [
|
needs: [
|
||||||
# chipyard-rocket-run-tests,
|
|
||||||
# chipyard-boom-run-tests,
|
|
||||||
chipyard-vortex-run-tests,
|
chipyard-vortex-run-tests,
|
||||||
chipyard-coalescer-run-tests,
|
chipyard-coalescer-run-tests,
|
||||||
coalescer-run-tests,
|
coalescer-run-tests,
|
||||||
# chipyard-gemmini-run-tests,
|
|
||||||
# testchipip-run-tests,
|
|
||||||
# rocketchip-run-tests,
|
|
||||||
]
|
]
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user