[ci] Experiment with working-directory
This commit is contained in:
1
.github/actions/prepare-rtl/action.yml
vendored
1
.github/actions/prepare-rtl/action.yml
vendored
@@ -36,6 +36,7 @@ runs:
|
|||||||
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-${{ inputs.toolchain }}
|
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-${{ inputs.toolchain }}
|
||||||
if [[ "${{ steps.rtl-build-id.outputs.cache-hit }}" != 'true' ]]; then
|
if [[ "${{ steps.rtl-build-id.outputs.cache-hit }}" != 'true' ]]; then
|
||||||
echo "Cache miss on ${{ inputs.group-key }}-${{ github.sha }}"
|
echo "Cache miss on ${{ inputs.group-key }}-${{ github.sha }}"
|
||||||
|
echo "Cache miss happened in: $PWD"
|
||||||
./.github/scripts/${{ inputs.build-script }} ${{ inputs.group-key }} ${{ inputs.build-type }}
|
./.github/scripts/${{ inputs.build-script }} ${{ inputs.group-key }} ${{ inputs.build-type }}
|
||||||
else
|
else
|
||||||
echo "Cache hit do not rebuild RTL for ${{ inputs.group-key }}"
|
echo "Cache hit do not rebuild RTL for ${{ inputs.group-key }}"
|
||||||
|
|||||||
1
.github/workflows/chipyard-run-tests-gpu.yml
vendored
1
.github/workflows/chipyard-run-tests-gpu.yml
vendored
@@ -161,6 +161,7 @@ jobs:
|
|||||||
- name: Prepare GPU binaries
|
- name: Prepare GPU binaries
|
||||||
uses: ./.github/actions/prepare-gpu
|
uses: ./.github/actions/prepare-gpu
|
||||||
- name: Build RTL on self-hosted
|
- name: Build RTL on self-hosted
|
||||||
|
working-directory: ${{ env.REMOTE_WORK_DIR }}
|
||||||
uses: ./.github/actions/prepare-rtl
|
uses: ./.github/actions/prepare-rtl
|
||||||
with:
|
with:
|
||||||
group-key: "group-gpu"
|
group-key: "group-gpu"
|
||||||
|
|||||||
Reference in New Issue
Block a user