[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.
# 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
# wrapped in quotes.
# Third-party tools
ABC:
- abc/*
- abc/**/*
- changed-files:
- any-glob-to-any-file: 'abc/*'
- any-glob-to-any-file: 'abc/**/*'
ACE2:
- ace2/*
- ace2/**/*
- changed-files:
- any-glob-to-any-file: 'ace2/*'
- any-glob-to-any-file: 'ace2/**/*'
VPR:
- vpr/*
- vpr/**/*
- libs/**/*
- changed-files:
- any-glob-to-any-file: 'vpr/*'
- any-glob-to-any-file: 'vpr/**/*'
- any-glob-to-any-file: 'libs/**/*'
# General areas
documentation:
- docs/*
- docs/**/*
- "*README*"
- "*.md"
- tutorial
- "*.rst"
- ".readthedocs.yml"
- changed-files:
- any-glob-to-any-file: 'docs/*'
- any-glob-to-any-file: 'docs/**/*'
- any-glob-to-any-file: '*README*'
- any-glob-to-any-file: '*.md'
- any-glob-to-any-file: 'tutorial'
- any-glob-to-any-file: '*.rst'
- any-glob-to-any-file: '.readthedocs.yml'
github:
- .github/*
- .github/**/*
- changed-files:
- any-glob-to-any-file: '.github/*'
- any-glob-to-any-file: '.github/**/*'
docker:
- Dockerfile
- "*docker*"
- changed-files:
- any-glob-to-any-file: 'Dockerfile'
- any-glob-to-any-file: '*docker*'
build:
- Makefile
- "*.make"
- CMakeLists.txt
- cmake
- changed-files:
- any-glob-to-any-file: 'Makefile'
- any-glob-to-any-file: '*.make'
- any-glob-to-any-file: 'CMakeLists.txt'
- any-glob-to-any-file: 'cmake'
libopenfpga:
- "libopenfpga/**"
- changed-files:
- any-glob-to-any-file: 'libopenfpga/**'
libopenfpga-bitstream:
- "libopenfpga/libfpgabitstream/**"
- changed-files:
- any-glob-to-any-file: 'libopenfpga/libfpgabitstream/**'
libopenfpga-arch-parser:
- "libopenfpga/libarchopenfpga/**"
- changed-files:
- any-glob-to-any-file: 'libopenfpga/libarchopenfpga/**'
libopenfpga-fabric-key:
- "libopenfpga/libfabrickey/**"
- changed-files:
- any-glob-to-any-file: 'libopenfpga/libfabrickey/**'
libopenfpga-shell:
- "libopenfpga/libopenfpgashell/**"
- changed-files:
- any-glob-to-any-file: 'libopenfpga/libopenfpgashell/**'
libopenfpga-utils:
- "libopenfpga/libopenfpgautil/**"
- changed-files:
- any-glob-to-any-file: 'libopenfpga/libopenfpgautil/**'
openfpga-tools:
- "openfpga/**"
- changed-files:
- any-glob-to-any-file: 'openfpga/**'
openfpga-verilog:
- "openfpga/*/fpga_verilog/**"
- changed-files:
- any-glob-to-any-file: 'openfpga/*/fpga_verilog/**'
openfpga-sdc:
- "openfpga/*/fpga_sdc/**"
- changed-files:
- any-glob-to-any-file: 'openfpga/*/fpga_sdc/**'
openfpga-bitstream:
- "openfpga/*/fpga_bitstream/**"
- changed-files:
- any-glob-to-any-file: 'openfpga/*/fpga_bitstream/**'
openfpga-spice:
- "openfpga/*/fpga_spice/**"
- changed-files:
- any-glob-to-any-file: 'openfpga/*/fpga_spice/**'
flow-scripts:
- "openfpga_flow/scripts/**"
- "openfpga_flow/openfpga_shell_scripts/**"
- "openfpga_flow/openfpga_simulation_settings/**"
- "openfpga_flow/misc/**"
- changed-files:
- any-glob-to-any-file: 'openfpga_flow/scripts/**'
- any-glob-to-any-file: 'openfpga_flow/openfpga_shell_scripts/**'
- any-glob-to-any-file: 'openfpga_flow/openfpga_simulation_settings/**'
- any-glob-to-any-file: 'openfpga_flow/misc/**'
architecture-description:
- "openfpga_flow/vpr_arch/**"
- "openfpga_flow/openfpga_arch/**"
- "openfpga_flow/fabric_keys/**"
- changed-files:
- any-glob-to-any-file: 'openfpga_flow/vpr_arch/**'
- any-glob-to-any-file: 'openfpga_flow/openfpga_arch/**'
- any-glob-to-any-file: 'openfpga_flow/fabric_keys/**'
bitstream:
- "openfpga_flow/fabric_keys/**"
- changed-files:
- any-glob-to-any-file: 'openfpga_flow/fabric_keys/**'
cell-library:
- "openfpga_flow/openfpga_cell_library/**"
- "openfpga_flow/tech/**"
- changed-files:
- any-glob-to-any-file: 'openfpga_flow/openfpga_cell_library/**'
- any-glob-to-any-file: 'openfpga_flow/tech/**'
benchmarks:
- "openfpga_flow/benchmarks/**"
- changed-files:
- any-glob-to-any-file: 'openfpga_flow/benchmarks/**'
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
# being used.
lang-hdl:
- "*.v"
- "*.sv"
- changed-files:
- any-glob-to-any-file: '*.v'
- any-glob-to-any-file: '*.sv'
lang-cpp:
- "*.c*"
- "*.h"
- changed-files:
- any-glob-to-any-file: '*.c*'
- any-glob-to-any-file: '*.h'
lang-perl:
- "*.pl"
- "*perl*"
- changed-files:
- any-glob-to-any-file: '*.pl'
- any-glob-to-any-file: '*perl*'
lang-python:
- "*.py"
- changed-files:
- any-glob-to-any-file: '*.py'
lang-shell:
- "*.sh"
- changed-files:
- any-glob-to-any-file: '*.sh'
lang-netlist:
- "*.blif"
- "*.eblif"
- "*.edif"
- "*.vqm"
- changed-files:
- any-glob-to-any-file: '*.blif'
- any-glob-to-any-file: '*.eblif'
- any-glob-to-any-file: '*.edif'
- any-glob-to-any-file: '*.vqm'
lang-make:
- "*.make"
- Makefile
- CMakeLists.txt
- changed-files:
- any-glob-to-any-file: '*.make'
- any-glob-to-any-file: 'Makefile'
- any-glob-to-any-file: 'CMakeLists.txt'

View File

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