Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move test control logic to Haskell #536

Merged
merged 4 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/synthesis/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
{"top": "switchCalendar1k", "stage": "hdl"},
{"top": "switchCalendar1kReducedPins", "stage": "pnr"},

{"top": "boardTestExtended", "stage": "test", "targets": "All" },
{"top": "boardTestSimple", "stage": "test", "targets": "All" },
{"top": "extraProbesTest", "stage": "test", "targets": "Specific [0]" },
{"top": "fincFdecTests", "stage": "test", "targets": "Specific [-1]"},
{"top": "fullMeshHwCcTest", "stage": "test", "targets": "All" },
{"top": "fullMeshHwCcWithRiscvTest", "stage": "test", "targets": "All" },
{"top": "fullMeshSwCcTest", "stage": "test", "targets": "All" },
{"top": "hwCcTopologyTest", "stage": "test", "targets": "All" },
{"top": "linkConfigurationTest", "stage": "test", "targets": "All" },
{"top": "syncInSyncOut", "stage": "test", "targets": "All" },
{"top": "temperatureMonitor", "stage": "test", "targets": "All" },
{"top": "transceiversUpTest", "stage": "test", "targets": "All" },
{"top": "vexRiscvTest", "stage": "test", "targets": "Specific [-1]"}
{"top": "boardTestExtended", "stage": "test"},
{"top": "boardTestSimple", "stage": "test"},
{"top": "fincFdecTests", "stage": "test"},
{"top": "fullMeshHwCcTest", "stage": "test"},
{"top": "fullMeshHwCcWithRiscvTest", "stage": "test"},
{"top": "fullMeshSwCcTest", "stage": "test"},
{"top": "hwCcTopologyTest", "stage": "test"},
{"top": "linkConfigurationTest", "stage": "test"},
{"top": "safeDffSynchronizer", "stage": "hdl" },
{"top": "syncInSyncOut", "stage": "test"},
{"top": "temperatureMonitor", "stage": "test"},
{"top": "transceiversUpTest", "stage": "test"},
{"top": "vexRiscvTest", "stage": "test"}
]
10 changes: 5 additions & 5 deletions .github/synthesis/staging.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[
{"top": "fullMeshHwCcTest", "stage": "test", "targets": "All"},
{"top": "fullMeshSwCcTest", "stage": "test", "targets": "All"},
{"top": "linkConfigurationTest", "stage": "test", "targets": "All"},
{"top": "fullMeshHwCcTest", "stage": "test"},
{"top": "fullMeshSwCcTest", "stage": "test"},
{"top": "linkConfigurationTest", "stage": "test"},
{"top": "safeDffSynchronizer", "stage": "hdl"},
JvWesterveld marked this conversation as resolved.
Show resolved Hide resolved
{"top": "transceiversUpTest", "stage": "test", "targets": "All"},
{"top": "vexRiscvTest", "stage": "test", "targets": "Specific [-1]"}
{"top": "transceiversUpTest", "stage": "test"},
{"top": "vexRiscvTest", "stage": "test"}
]
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
./cargo.sh build --frozen --release
export BITTIDE_ARTIFACT_ACCESS_TOKEN="${{ secrets.GITHUB_TOKEN }}"
export RUNREF="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
cabal run -- bittide-tools:cc-plot ${{ github.run_id }}:hwCcTopologyTest _build/plot hitl-topology-plots
cabal run -- bittide-tools:cc-plot ${{ github.run_id }}:hwCcTopologyTest hitl-topology-plots

- name: Generate clock control reports
run: |
Expand Down Expand Up @@ -641,7 +641,7 @@ jobs:
- name: Run tests on hardware
run: |
.github/scripts/with_vivado.sh \
shake ${{ matrix.target.top }}:test --hardware-targets="${{ matrix.target.targets}}"
shake ${{ matrix.target.top }}:test

- name: Archive ILA data
if: ${{ !cancelled() }}
Expand Down
1 change: 1 addition & 0 deletions bittide-experiments/bittide-experiments.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ common common-options
ghc-typelits-extra,
ghc-typelits-knownnat,
ghc-typelits-natnormalise,
template-haskell,

library
import: common-options
Expand Down
Loading
Loading