@@ -14,8 +14,9 @@ cd $REMOTE_CHIPYARD_DIR
|
||||
./scripts/init-submodules-no-riscv-tools.sh --force
|
||||
|
||||
# Run Firesim Scala Tests
|
||||
export FIRESIM_ENV_SOURCED=1;
|
||||
export FIRESIM_ENV_SOURCED=1
|
||||
export COURSIER_CACHE=$REMOTE_COURSIER_CACHE
|
||||
export JVM_MEMORY=10G
|
||||
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]}
|
||||
|
||||
9
.github/workflows/chipyard-full-flow.yml
vendored
9
.github/workflows/chipyard-full-flow.yml
vendored
@@ -65,7 +65,7 @@ jobs:
|
||||
name: setup-repo
|
||||
needs: [change-filters, cancel-prior-workflows]
|
||||
if: needs.change-filters.outputs.needs-rtl == 'true'
|
||||
runs-on: ferry
|
||||
runs-on: jktqos
|
||||
steps:
|
||||
- name: Delete old checkout
|
||||
run: |
|
||||
@@ -88,7 +88,7 @@ jobs:
|
||||
run-cfg-finder:
|
||||
name: run-cfg-finder
|
||||
needs: [setup-repo]
|
||||
runs-on: ferry
|
||||
runs-on: jktqos
|
||||
steps:
|
||||
- name: Run config finder
|
||||
run: |
|
||||
@@ -101,7 +101,7 @@ jobs:
|
||||
run-tutorial:
|
||||
name: run-tutorial
|
||||
needs: [setup-repo]
|
||||
runs-on: ferry
|
||||
runs-on: jktqos
|
||||
steps:
|
||||
- name: Run smoke test
|
||||
run: |
|
||||
@@ -168,9 +168,10 @@ jobs:
|
||||
cleanup:
|
||||
name: cleanup
|
||||
needs: [run-tutorial]
|
||||
runs-on: ferry
|
||||
runs-on: jktqos
|
||||
if: ${{ always() }}
|
||||
steps:
|
||||
- name: Delete repo copy and conda env
|
||||
run: |
|
||||
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
|
||||
id: genkey
|
||||
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
|
||||
id: build-extra-tools-cache
|
||||
with:
|
||||
@@ -178,11 +178,11 @@ jobs:
|
||||
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
||||
.github/scripts/build-extra-tests.sh
|
||||
|
||||
create-conda-env-knight:
|
||||
name: create-conda-env-knight
|
||||
create-conda-env-jktgz:
|
||||
name: create-conda-env-jktgz
|
||||
needs: [change-filters, cancel-prior-workflows]
|
||||
if: needs.change-filters.outputs.needs-rtl == 'true'
|
||||
runs-on: knight
|
||||
runs-on: jktgz
|
||||
steps:
|
||||
- name: Delete old checkout
|
||||
run: |
|
||||
@@ -199,11 +199,11 @@ jobs:
|
||||
- name: Create conda env
|
||||
uses: ./.github/actions/create-conda-env
|
||||
|
||||
create-conda-env-ferry:
|
||||
name: create-conda-env-ferry
|
||||
create-conda-env-jktqos:
|
||||
name: create-conda-env-jktqos
|
||||
needs: [change-filters, cancel-prior-workflows]
|
||||
if: needs.change-filters.outputs.needs-rtl == 'true'
|
||||
runs-on: ferry
|
||||
runs-on: jktqos
|
||||
steps:
|
||||
- name: Delete old checkout
|
||||
run: |
|
||||
@@ -225,7 +225,7 @@ jobs:
|
||||
# When adding new prep jobs, please add them to `needs` below
|
||||
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
|
||||
steps:
|
||||
- name: Set up complete
|
||||
@@ -393,7 +393,7 @@ jobs:
|
||||
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: ferry
|
||||
runs-on: jktqos
|
||||
steps:
|
||||
- name: Delete old checkout
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user