Refactor code to snake_case #20
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
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | |
# See also: https://github.com/marketplace/actions/bazel-action | |
name: XLS Modules | |
on: | |
# Avoid triggering on pushes to /all/ open PR branches. | |
push: | |
branches: | |
- ci/dslx-dma-rebase-axi | |
paths-ignore: | |
# Do not trigger action when docs are updated. | |
- 'docs/**' | |
pull_request: | |
branches: | |
- main | |
# This lets us trigger manually from the UI. | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
build: | |
name: BUILD | |
# runs-on: ubuntu-22.04 | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 600 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: 'ci/dslx-dma-rebase-axi' | |
- name: Debug action | |
uses: hmarr/[email protected] | |
- name: Debug print | |
id: debug_print | |
run: | | |
sudo apt install tree | |
tree -d -L 3 /home/runner/work/xls/ | |
- name: Build XLS | |
id: build | |
uses: ./.github/actions/build | |
implement: | |
needs: build | |
name: Implementation | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 600 | |
# strategy: | |
# matrix: ${{ fromJson( ) }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: 'ci/dslx-dma-rebase-axi' | |
- name: Implement CSR | |
id: implementation | |
uses: ./.github/actions/implementation | |
with: | |
xls_module: "xls/modules/dma" | |
rule_ir: "csr_opt_ir_benchmark" | |
rule_verilog: "verilog_csr" | |
rule_synthesis: "csr_benchmark_synth" | |
rule_pnr: "csr_place_and_route" | |
test: | |
needs: build | |
name: Test | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 600 | |
# strategy: | |
# matrix: ${{ fromJson( ) }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: 'ci/dslx-dma-rebase-axi' | |
- name: Test CSR | |
id: test | |
uses: ./.github/actions/test | |
with: | |
xls_module: "xls/modules/dma" | |
rule_test: "test_csr" |