From c5a3e6472bac36b53cfc1971eec91154ecc153cb Mon Sep 17 00:00:00 2001 From: Hansung Kim Date: Tue, 17 Oct 2023 00:18:38 -0700 Subject: [PATCH] [ci] Add missing prepare step for gpu; trim other prepares --- .github/workflows/chipyard-run-tests-gpu.yml | 72 +++++++------------- 1 file changed, 25 insertions(+), 47 deletions(-) diff --git a/.github/workflows/chipyard-run-tests-gpu.yml b/.github/workflows/chipyard-run-tests-gpu.yml index 2555b0fd..7e63065a 100644 --- a/.github/workflows/chipyard-run-tests-gpu.yml +++ b/.github/workflows/chipyard-run-tests-gpu.yml @@ -116,8 +116,8 @@ jobs: with: group-key: "group-cores" - prepare-chipyard-accels: - name: prepare-chipyard-accels + prepare-chipyard-gpu: + name: prepare-chipyard-gpu needs: setup-complete runs-on: self-hosted steps: @@ -136,51 +136,29 @@ jobs: - name: Build RTL on self-hosted uses: ./.github/actions/prepare-rtl with: - group-key: "group-accels" + group-key: "group-gpu" - prepare-chipyard-tracegen: - name: prepare-chipyard-tracegen - 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-tracegen" - - 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" + # 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" ########################################################################## @@ -260,7 +238,7 @@ jobs: project-key: "chipyard-boom" chipyard-vortex-run-tests: - name: chipyard-rocket-run-tests + name: chipyard-vortex-run-tests needs: prepare-chipyard-cores runs-on: self-hosted steps: