@@ -14,8 +14,9 @@ cd $REMOTE_CHIPYARD_DIR
|
|||||||
./scripts/init-submodules-no-riscv-tools.sh --force
|
./scripts/init-submodules-no-riscv-tools.sh --force
|
||||||
|
|
||||||
# Run Firesim Scala Tests
|
# Run Firesim Scala Tests
|
||||||
export FIRESIM_ENV_SOURCED=1;
|
export FIRESIM_ENV_SOURCED=1
|
||||||
export COURSIER_CACHE=$REMOTE_COURSIER_CACHE
|
export COURSIER_CACHE=$REMOTE_COURSIER_CACHE
|
||||||
export JVM_MEMORY=10G
|
export JVM_MEMORY=10G
|
||||||
export JAVA_TMP_DIR=$REMOTE_JAVA_TMP_DIR
|
export JAVA_TMP_DIR=$REMOTE_JAVA_TMP_DIR
|
||||||
|
export TEST_DISABLE_VIVADO=1
|
||||||
make -C $REMOTE_FIRESIM_DIR TARGET_SBT_PROJECT="{file:$REMOTE_CHIPYARD_DIR}firechip" testOnly ${mapping[$1]}
|
make -C $REMOTE_FIRESIM_DIR TARGET_SBT_PROJECT="{file:$REMOTE_CHIPYARD_DIR}firechip" testOnly ${mapping[$1]}
|
||||||
|
|||||||
9
.github/workflows/chipyard-full-flow.yml
vendored
9
.github/workflows/chipyard-full-flow.yml
vendored
@@ -65,7 +65,7 @@ jobs:
|
|||||||
name: setup-repo
|
name: setup-repo
|
||||||
needs: [change-filters, cancel-prior-workflows]
|
needs: [change-filters, cancel-prior-workflows]
|
||||||
if: needs.change-filters.outputs.needs-rtl == 'true'
|
if: needs.change-filters.outputs.needs-rtl == 'true'
|
||||||
runs-on: ferry
|
runs-on: jktqos
|
||||||
steps:
|
steps:
|
||||||
- name: Delete old checkout
|
- name: Delete old checkout
|
||||||
run: |
|
run: |
|
||||||
@@ -88,7 +88,7 @@ jobs:
|
|||||||
run-cfg-finder:
|
run-cfg-finder:
|
||||||
name: run-cfg-finder
|
name: run-cfg-finder
|
||||||
needs: [setup-repo]
|
needs: [setup-repo]
|
||||||
runs-on: ferry
|
runs-on: jktqos
|
||||||
steps:
|
steps:
|
||||||
- name: Run config finder
|
- name: Run config finder
|
||||||
run: |
|
run: |
|
||||||
@@ -101,7 +101,7 @@ jobs:
|
|||||||
run-tutorial:
|
run-tutorial:
|
||||||
name: run-tutorial
|
name: run-tutorial
|
||||||
needs: [setup-repo]
|
needs: [setup-repo]
|
||||||
runs-on: ferry
|
runs-on: jktqos
|
||||||
steps:
|
steps:
|
||||||
- name: Run smoke test
|
- name: Run smoke test
|
||||||
run: |
|
run: |
|
||||||
@@ -168,9 +168,10 @@ jobs:
|
|||||||
cleanup:
|
cleanup:
|
||||||
name: cleanup
|
name: cleanup
|
||||||
needs: [run-tutorial]
|
needs: [run-tutorial]
|
||||||
runs-on: ferry
|
runs-on: jktqos
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
steps:
|
steps:
|
||||||
- name: Delete repo copy and conda env
|
- name: Delete repo copy and conda env
|
||||||
run: |
|
run: |
|
||||||
rm -rf ${{ env.REMOTE_WORK_DIR }}
|
rm -rf ${{ env.REMOTE_WORK_DIR }}
|
||||||
|
rm -rf ${{ env.JAVA_TMP_DIR }}
|
||||||
|
|||||||
18
.github/workflows/chipyard-run-tests.yml
vendored
18
.github/workflows/chipyard-run-tests.yml
vendored
@@ -166,7 +166,7 @@ jobs:
|
|||||||
- name: Generate keys
|
- name: Generate keys
|
||||||
id: genkey
|
id: genkey
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=extra-tests-cache-key::extra-tests-${{ github.sha }}"
|
echo "extra-tests-cache-key=extra-tests-${{ github.sha }}" >> $GITHUB_OUTPUT
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
id: build-extra-tools-cache
|
id: build-extra-tools-cache
|
||||||
with:
|
with:
|
||||||
@@ -178,11 +178,11 @@ jobs:
|
|||||||
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
||||||
.github/scripts/build-extra-tests.sh
|
.github/scripts/build-extra-tests.sh
|
||||||
|
|
||||||
create-conda-env-knight:
|
create-conda-env-jktgz:
|
||||||
name: create-conda-env-knight
|
name: create-conda-env-jktgz
|
||||||
needs: [change-filters, cancel-prior-workflows]
|
needs: [change-filters, cancel-prior-workflows]
|
||||||
if: needs.change-filters.outputs.needs-rtl == 'true'
|
if: needs.change-filters.outputs.needs-rtl == 'true'
|
||||||
runs-on: knight
|
runs-on: jktgz
|
||||||
steps:
|
steps:
|
||||||
- name: Delete old checkout
|
- name: Delete old checkout
|
||||||
run: |
|
run: |
|
||||||
@@ -199,11 +199,11 @@ jobs:
|
|||||||
- name: Create conda env
|
- name: Create conda env
|
||||||
uses: ./.github/actions/create-conda-env
|
uses: ./.github/actions/create-conda-env
|
||||||
|
|
||||||
create-conda-env-ferry:
|
create-conda-env-jktqos:
|
||||||
name: create-conda-env-ferry
|
name: create-conda-env-jktqos
|
||||||
needs: [change-filters, cancel-prior-workflows]
|
needs: [change-filters, cancel-prior-workflows]
|
||||||
if: needs.change-filters.outputs.needs-rtl == 'true'
|
if: needs.change-filters.outputs.needs-rtl == 'true'
|
||||||
runs-on: ferry
|
runs-on: jktqos
|
||||||
steps:
|
steps:
|
||||||
- name: Delete old checkout
|
- name: Delete old checkout
|
||||||
run: |
|
run: |
|
||||||
@@ -225,7 +225,7 @@ jobs:
|
|||||||
# 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: [create-conda-env-knight, create-conda-env-ferry, build-extra-tests]
|
needs: [create-conda-env-jktgz, create-conda-env-jktqos, build-extra-tests]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up complete
|
- name: Set up complete
|
||||||
@@ -393,7 +393,7 @@ jobs:
|
|||||||
chipyard-spike-gemmini-run-tests:
|
chipyard-spike-gemmini-run-tests:
|
||||||
name: 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
|
needs: prepare-chipyard-accels # technically doesn't depend on RTL but should be after the build.sh for Gemmini
|
||||||
runs-on: ferry
|
runs-on: jktqos
|
||||||
steps:
|
steps:
|
||||||
- name: Delete old checkout
|
- name: Delete old checkout
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user