update readme, fix docs again #482
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build & test | |
on: [push] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- run: | | |
pdm install | |
pdm test | |
working-directory: gateware | |
ubuntu-usb-audio: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- uses: YosysHQ/setup-oss-cad-suite@v3 | |
- run: git submodule update --init --recursive | |
- run: yosys --version | |
- run: | | |
pdm install | |
pdm usb_audio build | |
working-directory: gateware | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: example-usb-audio.bit | |
path: gateware/build/top.bit | |
ubuntu-bitstream-dsp-nco: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- uses: YosysHQ/setup-oss-cad-suite@v3 | |
- run: git submodule update --init --recursive | |
- run: yosys --version | |
- run: | | |
pdm install | |
pdm dsp build --dsp-core nco | |
working-directory: gateware | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: example-dsp-svf.bit | |
path: gateware/build/top.bit | |
ubuntu-sim-dsp-nco: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- uses: YosysHQ/setup-oss-cad-suite@v3 | |
- run: git submodule update --init --recursive | |
- run: yosys --version | |
- run: | | |
pdm install | |
pdm dsp sim --dsp-core nco | |
working-directory: gateware | |
ubuntu-bitstream-dsp-midicv: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- uses: YosysHQ/setup-oss-cad-suite@v3 | |
- run: git submodule update --init --recursive | |
- run: yosys --version | |
- run: | | |
pdm install | |
pdm dsp build --dsp-core midicv | |
working-directory: gateware | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: example-dsp-midicv.bit | |
path: gateware/build/top.bit | |
ubuntu-bitstream-xbeam: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- uses: YosysHQ/setup-oss-cad-suite@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: True | |
components: rustfmt, clippy, llvm-tools | |
target: riscv32imac-unknown-none-elf | |
- run: cargo install cargo-binutils svd2rust form | |
- run: git submodule update --init --recursive | |
- run: yosys --version | |
- run: | | |
pdm install | |
pdm xbeam build | |
working-directory: gateware | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: example-xbeam.bit | |
path: gateware/build/top.bit | |
ubuntu-bitstream-selftest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- uses: YosysHQ/setup-oss-cad-suite@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: True | |
components: rustfmt, clippy, llvm-tools | |
target: riscv32imac-unknown-none-elf | |
- run: cargo install cargo-binutils svd2rust form | |
- run: git submodule update --init --recursive | |
- run: yosys --version | |
- run: | | |
pdm install | |
pdm selftest build | |
working-directory: gateware | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: example-selftest.bit | |
path: gateware/build/top.bit | |
ubuntu-bitstream-poly: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- uses: YosysHQ/setup-oss-cad-suite@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: True | |
components: rustfmt, clippy, llvm-tools | |
target: riscv32imac-unknown-none-elf | |
- run: cargo install cargo-binutils svd2rust form | |
- run: git submodule update --init --recursive | |
- run: yosys --version | |
- run: | | |
pdm install | |
pdm polysyn build | |
working-directory: gateware | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: example-poly.bit | |
path: gateware/build/top.bit | |
ubuntu-bitstream-vectorscope: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- uses: YosysHQ/setup-oss-cad-suite@v3 | |
- run: git submodule update --init --recursive | |
- run: yosys --version | |
- run: | | |
pdm install | |
pdm vectorscope_no_soc build | |
working-directory: gateware | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: example-vectorscope.bit | |
path: gateware/build/top.bit | |
ubuntu-bitstream-boot: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- uses: YosysHQ/setup-oss-cad-suite@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: True | |
components: rustfmt, clippy, llvm-tools | |
target: riscv32imac-unknown-none-elf | |
- run: cargo install cargo-binutils svd2rust form | |
- run: git submodule update --init --recursive | |
- run: yosys --version | |
- run: | | |
pdm install | |
pdm bootloader build | |
working-directory: gateware | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: example-boot.bit | |
path: gateware/build/top.bit | |
ubuntu-bitstream-boot-stub: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
- uses: YosysHQ/setup-oss-cad-suite@v3 | |
- run: git submodule update --init --recursive | |
- run: yosys --version | |
- run: | | |
pdm install | |
pdm bootstub build --bootaddr 0x100000 | |
working-directory: gateware | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: bootstub1.bit | |
path: gateware/build/top.bit |