Skip to content

Commit 7949a76

Browse files
Remove deprecated test
1 parent b233915 commit 7949a76

File tree

3 files changed

+62
-8
lines changed

3 files changed

+62
-8
lines changed

.github/workflows/build.yml

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: fpga-build
2+
run-name: ${{ github.actor }} Building FPGA bitstreams
3+
on:
4+
[push]
5+
jobs:
6+
changes:
7+
runs-on: self-hosted
8+
permissions:
9+
pull-requests: read
10+
outputs:
11+
cobble: ${{ steps.filter.outputs.cobble }}
12+
buck2: ${{ steps.filter.outputs.buck2 }}
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
submodules: 'true'
17+
- uses: dorny/paths-filter@v3
18+
id: filter
19+
with:
20+
filters: .github/filters.yml
21+
22+
grapefruit:
23+
needs: changes
24+
if: ${{ needs.changes.outputs.buck2 == 'true' }}
25+
runs-on: self-hosted
26+
steps:
27+
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
28+
- name: Check out repository code
29+
uses: actions/checkout@v4
30+
with:
31+
submodules: 'true'
32+
- name: Update pip reqs
33+
run : python3 -m pip install --upgrade -r tools/requirements.txt --break-system-packages
34+
- name: Build grapefruit bitstream
35+
run: buck2 build //hdl/projects/grapefruit:grapefruit --show-output
36+
37+
bsv_streams:
38+
needs: changes
39+
if: ${{ needs.changes.outputs.buck2 == 'true' }}
40+
runs-on: self-hosted
41+
steps:
42+
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
43+
- name: Check out repository code
44+
uses: actions/checkout@v4
45+
with:
46+
submodules: 'true'
47+
fetch-depth: 0
48+
- name: Update pip reqs
49+
run : python3 -m pip install --upgrade -r tools/requirements.txt --break-system-packages
50+
- name: Env setup
51+
run: cp BUILD.vars.gha BUILD.vars && echo "/opt/bsc-2022.01/bin" >> "$GITHUB_PATH"
52+
- name: Restore build-dir
53+
run: if [ -d /tmp/cobble_build_bkup ]; then cp -R /tmp/cobble_build_bkup ./build; else mkdir ./build; fi
54+
- name: cobble init
55+
run: ../vnd/cobble/cobble init .. --reinit
56+
working-directory: ./build
57+
- name: Build FPGAs
58+
run: ./cobble build -v "//.*#bitstream"
59+
working-directory: ./build
60+
- name: backup build-dir
61+
run: cp -R ./build /tmp/cobble_build_bkup

.github/workflows/simulation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: ../vnd/cobble/cobble init .. --reinit
5656
working-directory: ./build
5757
- name: Run BSIM tests
58-
run: ./cobble bluesim_test "//.*SchmittRegTest.*"
58+
run: ./cobble bluesim_test "//.*Test.*"
5959
working-directory: ./build
6060
- name: backup build-dir
6161
run: cp -R ./build /tmp/cobble_build_bkup

hdl/ip/vhd/vunit_components/BUCK

-7
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ vhdl_unit(
2020
visibility = ['PUBLIC'],
2121
)
2222

23-
vunit_sim(
24-
name = "qspi_vc_tb",
25-
srcs = glob(["qspi_controller/sims/*.vhd"]),
26-
deps = [":qspi_controller_vc"],
27-
visibility = ['PUBLIC'],
28-
)
29-
3023
vhdl_unit(
3124
name = "basic_stream",
3225
srcs = glob(["basic_stream/*.vhd"]),

0 commit comments

Comments
 (0)