Change from git submodules to PDM for dependency management. #128
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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
orbtrace_mini: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- run: git fetch --prune --unshallow --no-recurse-submodules | |
- uses: YosysHQ/setup-oss-cad-suite@v2 | |
- uses: gregdavill/[email protected] | |
- run: python3 -m pip install pdm meson ninja | |
- run: pdm install | |
- run: pdm run orbtrace_builder --platform orbtrace_mini --build | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: orbtrace_mini | |
path: | | |
build/orbtrace_mini/gateware/orbtrace_mini.bit | |
build/orbtrace_mini/gateware/csr.csv | |
orbtrace_mini_dfu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- run: git fetch --prune --unshallow --no-recurse-submodules | |
- uses: YosysHQ/setup-oss-cad-suite@v2 | |
- uses: gregdavill/[email protected] | |
- run: python3 -m pip install pdm meson ninja | |
- run: pdm install | |
- run: pdm run orbtrace_builder --platform orbtrace_mini --profile dfu --build | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: orbtrace_mini_dfu | |
path: | | |
build/orbtrace_mini_dfu/gateware/orbtrace_mini.bit | |
build/orbtrace_mini_dfu/gateware/csr.csv | |
orbtrace_mini_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- run: git fetch --prune --unshallow --no-recurse-submodules | |
- uses: YosysHQ/setup-oss-cad-suite@v2 | |
- uses: gregdavill/[email protected] | |
- run: python3 -m pip install pdm meson ninja | |
- run: pdm install | |
- run: pdm run orbtrace_builder --platform orbtrace_mini --profile test --build | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: orbtrace_mini_test | |
path: | | |
build/orbtrace_mini_test/gateware/orbtrace_mini.bit | |
build/orbtrace_mini_test/gateware/csr.csv |