[ci] debugging

This commit is contained in:
tangxifan 2023-12-06 11:11:55 -08:00
parent 33f0f0feed
commit 7cc43dea4a
2 changed files with 95 additions and 62 deletions

153
.github/labeler.yml vendored
View File

@ -1,103 +1,134 @@
# See https://github.com/actions/labeler#common-examples for defining patterns. # See https://github.com/actions/labeler#common-examples for defining patterns.
# The globs use "minimatch" syntax found at https://github.com/isaacs/minimatch # The globs use minimatch syntax found at https://github.com/isaacs/minimatch
# #
# WARNING: Due to this file being yaml, any string starting with `*` must be # WARNING: Due to this file being yaml, any string starting with `*` must be
# wrapped in quotes. # wrapped in quotes.
# Third-party tools # Third-party tools
ABC: ABC:
- abc/* - changed-files:
- abc/**/* - any-glob-to-any-file: 'abc/*'
- any-glob-to-any-file: 'abc/**/*'
ACE2: ACE2:
- ace2/* - changed-files:
- ace2/**/* - any-glob-to-any-file: 'ace2/*'
- any-glob-to-any-file: 'ace2/**/*'
VPR: VPR:
- vpr/* - changed-files:
- vpr/**/* - any-glob-to-any-file: 'vpr/*'
- libs/**/* - any-glob-to-any-file: 'vpr/**/*'
- any-glob-to-any-file: 'libs/**/*'
# General areas # General areas
documentation: documentation:
- docs/* - changed-files:
- docs/**/* - any-glob-to-any-file: 'docs/*'
- "*README*" - any-glob-to-any-file: 'docs/**/*'
- "*.md" - any-glob-to-any-file: '*README*'
- tutorial - any-glob-to-any-file: '*.md'
- "*.rst" - any-glob-to-any-file: 'tutorial'
- ".readthedocs.yml" - any-glob-to-any-file: '*.rst'
- any-glob-to-any-file: '.readthedocs.yml'
github: github:
- .github/* - changed-files:
- .github/**/* - any-glob-to-any-file: '.github/*'
- any-glob-to-any-file: '.github/**/*'
docker: docker:
- Dockerfile - changed-files:
- "*docker*" - any-glob-to-any-file: 'Dockerfile'
- any-glob-to-any-file: '*docker*'
build: build:
- Makefile - changed-files:
- "*.make" - any-glob-to-any-file: 'Makefile'
- CMakeLists.txt - any-glob-to-any-file: '*.make'
- cmake - any-glob-to-any-file: 'CMakeLists.txt'
- any-glob-to-any-file: 'cmake'
libopenfpga: libopenfpga:
- "libopenfpga/**" - changed-files:
- any-glob-to-any-file: 'libopenfpga/**'
libopenfpga-bitstream: libopenfpga-bitstream:
- "libopenfpga/libfpgabitstream/**" - changed-files:
- any-glob-to-any-file: 'libopenfpga/libfpgabitstream/**'
libopenfpga-arch-parser: libopenfpga-arch-parser:
- "libopenfpga/libarchopenfpga/**" - changed-files:
- any-glob-to-any-file: 'libopenfpga/libarchopenfpga/**'
libopenfpga-fabric-key: libopenfpga-fabric-key:
- "libopenfpga/libfabrickey/**" - changed-files:
- any-glob-to-any-file: 'libopenfpga/libfabrickey/**'
libopenfpga-shell: libopenfpga-shell:
- "libopenfpga/libopenfpgashell/**" - changed-files:
- any-glob-to-any-file: 'libopenfpga/libopenfpgashell/**'
libopenfpga-utils: libopenfpga-utils:
- "libopenfpga/libopenfpgautil/**" - changed-files:
- any-glob-to-any-file: 'libopenfpga/libopenfpgautil/**'
openfpga-tools: openfpga-tools:
- "openfpga/**" - changed-files:
- any-glob-to-any-file: 'openfpga/**'
openfpga-verilog: openfpga-verilog:
- "openfpga/*/fpga_verilog/**" - changed-files:
- any-glob-to-any-file: 'openfpga/*/fpga_verilog/**'
openfpga-sdc: openfpga-sdc:
- "openfpga/*/fpga_sdc/**" - changed-files:
- any-glob-to-any-file: 'openfpga/*/fpga_sdc/**'
openfpga-bitstream: openfpga-bitstream:
- "openfpga/*/fpga_bitstream/**" - changed-files:
- any-glob-to-any-file: 'openfpga/*/fpga_bitstream/**'
openfpga-spice: openfpga-spice:
- "openfpga/*/fpga_spice/**" - changed-files:
- any-glob-to-any-file: 'openfpga/*/fpga_spice/**'
flow-scripts: flow-scripts:
- "openfpga_flow/scripts/**" - changed-files:
- "openfpga_flow/openfpga_shell_scripts/**" - any-glob-to-any-file: 'openfpga_flow/scripts/**'
- "openfpga_flow/openfpga_simulation_settings/**" - any-glob-to-any-file: 'openfpga_flow/openfpga_shell_scripts/**'
- "openfpga_flow/misc/**" - any-glob-to-any-file: 'openfpga_flow/openfpga_simulation_settings/**'
- any-glob-to-any-file: 'openfpga_flow/misc/**'
architecture-description: architecture-description:
- "openfpga_flow/vpr_arch/**" - changed-files:
- "openfpga_flow/openfpga_arch/**" - any-glob-to-any-file: 'openfpga_flow/vpr_arch/**'
- "openfpga_flow/fabric_keys/**" - any-glob-to-any-file: 'openfpga_flow/openfpga_arch/**'
- any-glob-to-any-file: 'openfpga_flow/fabric_keys/**'
bitstream: bitstream:
- "openfpga_flow/fabric_keys/**" - changed-files:
- any-glob-to-any-file: 'openfpga_flow/fabric_keys/**'
cell-library: cell-library:
- "openfpga_flow/openfpga_cell_library/**" - changed-files:
- "openfpga_flow/tech/**" - any-glob-to-any-file: 'openfpga_flow/openfpga_cell_library/**'
- any-glob-to-any-file: 'openfpga_flow/tech/**'
benchmarks: benchmarks:
- "openfpga_flow/benchmarks/**" - changed-files:
- any-glob-to-any-file: 'openfpga_flow/benchmarks/**'
tests: tests:
- "openfpga_flow/tasks/**" - changed-files:
- any-glob-to-any-file: 'openfpga_flow/tasks/**'
# Tag pull requests with the languages used to make it easy to see what is # Tag pull requests with the languages used to make it easy to see what is
# being used. # being used.
lang-hdl: lang-hdl:
- "*.v" - changed-files:
- "*.sv" - any-glob-to-any-file: '*.v'
- any-glob-to-any-file: '*.sv'
lang-cpp: lang-cpp:
- "*.c*" - changed-files:
- "*.h" - any-glob-to-any-file: '*.c*'
- any-glob-to-any-file: '*.h'
lang-perl: lang-perl:
- "*.pl" - changed-files:
- "*perl*" - any-glob-to-any-file: '*.pl'
- any-glob-to-any-file: '*perl*'
lang-python: lang-python:
- "*.py" - changed-files:
- any-glob-to-any-file: '*.py'
lang-shell: lang-shell:
- "*.sh" - changed-files:
- any-glob-to-any-file: '*.sh'
lang-netlist: lang-netlist:
- "*.blif" - changed-files:
- "*.eblif" - any-glob-to-any-file: '*.blif'
- "*.edif" - any-glob-to-any-file: '*.eblif'
- "*.vqm" - any-glob-to-any-file: '*.edif'
- any-glob-to-any-file: '*.vqm'
lang-make: lang-make:
- "*.make" - changed-files:
- Makefile - any-glob-to-any-file: '*.make'
- CMakeLists.txt - any-glob-to-any-file: 'Makefile'
- any-glob-to-any-file: 'CMakeLists.txt'

View File

@ -4,9 +4,11 @@ on:
jobs: jobs:
triage: triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 # Upload repositoru content to the runner
- uses: actions/labeler@v5 - uses: actions/labeler@v5
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"