diff --git a/.codacy.yml b/.codacy.yml index 409c852ee..7ce1f8db5 100644 --- a/.codacy.yml +++ b/.codacy.yml @@ -1,6 +1,6 @@ --- exclude_paths: - - '.github/**' - - 'ci/build_verilator.sh' - - 'include/vltstd/**' - - 'nodist/fastcov.py' + - ".github/**" + - "ci/build_verilator.sh" + - "include/vltstd/**" + - "nodist/fastcov.py" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 046e5684b..43a16129d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,3 +1,4 @@ +--- # DESCRIPTION: Github actions config # This name is key to badges in README.rst, so we use the name build # SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 @@ -9,7 +10,7 @@ on: pull_request: workflow_dispatch: schedule: - - cron: '0 0 * * 0' # weekly + - cron: '0 0 * * 0' # weekly env: CI_OS_NAME: linux @@ -37,12 +38,12 @@ jobs: matrix: os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04] compiler: - - { cc: clang, cxx: clang++ } - - { cc: gcc, cxx: g++ } + - {cc: clang, cxx: clang++} + - {cc: gcc, cxx: g++} include: # Build GCC 10 on ubuntu-20.04 - os: ubuntu-20.04 - compiler: { cc: gcc-10, cxx: g++-10 } + compiler: {cc: gcc-10, cxx: g++-10} runs-on: ${{ matrix.os }} name: Build | ${{ matrix.os }} | ${{ matrix.compiler.cc }} env: @@ -51,41 +52,40 @@ jobs: CC: ${{ matrix.compiler.cc }} CXX: ${{ matrix.compiler.cxx }} CACHE_BASE_KEY: build-${{ matrix.os }}-${{ matrix.compiler.cc }} - CCACHE_MAXSIZE: 1000M # Per build matrix entry (* 5 = 5000M in total) + CCACHE_MAXSIZE: 1000M # Per build matrix entry (* 5 = 5000M in total) VERILATOR_ARCHIVE: verilator-${{ github.sha }}-${{ matrix.os }}-${{ matrix.compiler.cc }}.tar.gz steps: - - name: Checkout - uses: actions/checkout@v4 - with: - path: repo + - name: Checkout + uses: actions/checkout@v4 + with: + path: repo - - name: Cache $CCACHE_DIR - uses: actions/cache@v4 - env: - CACHE_KEY: ${{ env.CACHE_BASE_KEY }}-ccache - with: - path: ${{ env.CCACHE_DIR }} - key: ${{ env.CACHE_KEY }}-${{ github.sha }} - restore-keys: | - ${{ env.CACHE_KEY }}- + - name: Cache $CCACHE_DIR + uses: actions/cache@v4 + env: + CACHE_KEY: ${{ env.CACHE_BASE_KEY }}-ccache + with: + path: ${{ env.CCACHE_DIR }} + key: ${{ env.CACHE_KEY }}-${{ github.sha }} + restore-keys: | + ${{ env.CACHE_KEY }}- - - name: Install packages for build - run: ./ci/ci-install.bash + - name: Install packages for build + run: ./ci/ci-install.bash - - name: Build - run: ./ci/ci-script.bash + - name: Build + run: ./ci/ci-script.bash - - name: Tar up repository - working-directory: ${{ github.workspace }} - run: tar --posix -c -z -f ${{ env.VERILATOR_ARCHIVE }} repo - - - name: Upload tar archive - uses: actions/upload-artifact@v4 - with: - path: ${{ github.workspace }}/${{ env.VERILATOR_ARCHIVE }} - name: ${{ env.VERILATOR_ARCHIVE }} + - name: Tar up repository + working-directory: ${{ github.workspace }} + run: tar --posix -c -z -f ${{ env.VERILATOR_ARCHIVE }} repo + - name: Upload tar archive + uses: actions/upload-artifact@v4 + with: + path: ${{ github.workspace }}/${{ env.VERILATOR_ARCHIVE }} + name: ${{ env.VERILATOR_ARCHIVE }} test: needs: build @@ -94,25 +94,25 @@ jobs: matrix: os: [ubuntu-22.04, ubuntu-20.04] compiler: - - { cc: clang, cxx: clang++ } - - { cc: gcc, cxx: g++ } + - {cc: clang, cxx: clang++} + - {cc: gcc, cxx: g++} reloc: [0] suite: [dist-vlt-0, dist-vlt-1, dist-vlt-2, dist-vlt-3, vltmt-0, vltmt-1] include: # Test with GCC 10 on ubuntu-20.04, also test relocation - - {os: ubuntu-20.04, compiler: { cc: gcc-10, cxx: g++-10 }, reloc: 1, suite: dist-vlt-0} - - {os: ubuntu-20.04, compiler: { cc: gcc-10, cxx: g++-10 }, reloc: 1, suite: dist-vlt-1} - - {os: ubuntu-20.04, compiler: { cc: gcc-10, cxx: g++-10 }, reloc: 1, suite: dist-vlt-2} - - {os: ubuntu-20.04, compiler: { cc: gcc-10, cxx: g++-10 }, reloc: 1, suite: dist-vlt-3} - - {os: ubuntu-20.04, compiler: { cc: gcc-10, cxx: g++-10 }, reloc: 1, suite: vltmt-0} - - {os: ubuntu-20.04, compiler: { cc: gcc-10, cxx: g++-10 }, reloc: 1, suite: vltmt-1} + - {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: dist-vlt-0} + - {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: dist-vlt-1} + - {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: dist-vlt-2} + - {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: dist-vlt-3} + - {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: vltmt-0} + - {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: vltmt-1} # Ubuntu 24.04 only on GCC; not passing on clang yet - - {os: ubuntu-24.04, compiler: { cc: gcc, cxx: g++ }, suite: dist-vlt-0} - - {os: ubuntu-24.04, compiler: { cc: gcc, cxx: g++ }, suite: dist-vlt-1} - - {os: ubuntu-24.04, compiler: { cc: gcc, cxx: g++ }, suite: dist-vlt-2} - - {os: ubuntu-24.04, compiler: { cc: gcc, cxx: g++ }, suite: dist-vlt-3} - - {os: ubuntu-24.04, compiler: { cc: gcc, cxx: g++ }, suite: vltmt-0} - - {os: ubuntu-24.04, compiler: { cc: gcc, cxx: g++ }, suite: vltmt-1} + - {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: dist-vlt-0} + - {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: dist-vlt-1} + - {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: dist-vlt-2} + - {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: dist-vlt-3} + - {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: vltmt-0} + - {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: vltmt-1} runs-on: ${{ matrix.os }} name: Test | ${{ matrix.os }} | ${{ matrix.compiler.cc }} | ${{ matrix.reloc && 'reloc | ' || '' }} ${{ matrix.suite }} env: @@ -122,37 +122,37 @@ jobs: CC: ${{ matrix.compiler.cc }} CXX: ${{ matrix.compiler.cxx }} CACHE_BASE_KEY: test-${{ matrix.os }}-${{ matrix.compiler.cc }}-${{ matrix.reloc }}-${{ matrix.suite }} - CCACHE_MAXSIZE: 100M # Per build per suite (* 5 * 5 = 2500M in total) + CCACHE_MAXSIZE: 100M # Per build per suite (* 5 * 5 = 2500M in total) VERILATOR_ARCHIVE: verilator-${{ github.sha }}-${{ matrix.os }}-${{ matrix.compiler.cc }}.tar.gz steps: - - name: Download tar archive - uses: actions/download-artifact@v4 - with: - name: ${{ env.VERILATOR_ARCHIVE }} - path: ${{ github.workspace }} + - name: Download tar archive + uses: actions/download-artifact@v4 + with: + name: ${{ env.VERILATOR_ARCHIVE }} + path: ${{ github.workspace }} - - name: Unpack tar archive - working-directory: ${{ github.workspace }} - run: tar -x -z -f ${{ env.VERILATOR_ARCHIVE }} + - name: Unpack tar archive + working-directory: ${{ github.workspace }} + run: tar -x -z -f ${{ env.VERILATOR_ARCHIVE }} - - name: Cache $CCACHE_DIR - uses: actions/cache@v4 - env: - CACHE_KEY: ${{ env.CACHE_BASE_KEY }}-ccache2 - with: - path: ${{ env.CCACHE_DIR }} - key: ${{ env.CACHE_KEY }}-${{ github.sha }} - restore-keys: | - ${{ env.CACHE_KEY }}- + - name: Cache $CCACHE_DIR + uses: actions/cache@v4 + env: + CACHE_KEY: ${{ env.CACHE_BASE_KEY }}-ccache2 + with: + path: ${{ env.CCACHE_DIR }} + key: ${{ env.CACHE_KEY }}-${{ github.sha }} + restore-keys: | + ${{ env.CACHE_KEY }}- - - name: Install test dependencies - run: ./ci/ci-install.bash + - name: Install test dependencies + run: ./ci/ci-install.bash - - name: Test - env: - TESTS: ${{ matrix.suite }} - run: ./ci/ci-script.bash + - name: Test + env: + TESTS: ${{ matrix.suite }} + run: ./ci/ci-script.bash lint-py: runs-on: ubuntu-22.04 @@ -161,21 +161,21 @@ jobs: CI_BUILD_STAGE_NAME: build CI_RUNS_ON: ubuntu-22.04 steps: - - name: Checkout - uses: actions/checkout@v4 - with: - path: repo + - name: Checkout + uses: actions/checkout@v4 + with: + path: repo - - name: Install packages for build - run: ./ci/ci-install.bash + - name: Install packages for build + run: ./ci/ci-install.bash # We use specific version numbers, otherwise a Python package # update may add a warning and break our build - - name: Install packages for lint - run: sudo pip3 install pylint==3.0.2 ruff==0.1.3 clang sphinx sphinx_rtd_theme sphinxcontrib-spelling breathe ruff + - name: Install packages for lint + run: sudo pip3 install pylint==3.0.2 ruff==0.1.3 clang sphinx sphinx_rtd_theme sphinxcontrib-spelling breathe ruff - - name: Configure - run: autoconf && ./configure --enable-longtests --enable-ccwarn + - name: Configure + run: autoconf && ./configure --enable-longtests --enable-ccwarn - - name: Lint - run: make -k lint-py + - name: Lint + run: make -k lint-py diff --git a/.github/workflows/contributor.yml b/.github/workflows/contributor.yml index 80e0f9805..6485aaf48 100644 --- a/.github/workflows/contributor.yml +++ b/.github/workflows/contributor.yml @@ -1,17 +1,16 @@ +--- # DESCRIPTION: Github actions config # SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 - +# name: Contributor Agreement - on: push: pull_request: workflow_dispatch: - jobs: Test: name: "'docs/CONTRIBUTORS' was signed" runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 - - run: test_regress/t/t_dist_contributors.py + - uses: actions/checkout@v4 + - run: test_regress/t/t_dist_contributors.py diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 5315418ef..5fb56e65a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,3 +1,4 @@ +--- # DESCRIPTION: Github actions config # SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 @@ -6,7 +7,7 @@ name: coverage on: workflow_dispatch: schedule: - - cron: '0 0 * * 0' # weekly + - cron: '0 0 * * 0' # weekly env: CI_OS_NAME: linux @@ -21,7 +22,6 @@ defaults: jobs: - Build: runs-on: ubuntu-22.04 env: @@ -29,49 +29,36 @@ jobs: CI_RUNS_ON: ubuntu-22.04 steps: - - name: Checkout - uses: actions/checkout@v4 - with: - path: repo + - name: Checkout + uses: actions/checkout@v4 + with: + path: repo - - name: Install packages for build - run: ./ci/ci-install.bash + - name: Install packages for build + run: ./ci/ci-install.bash - - name: Build - run: ./ci/ci-script.bash + - name: Build + run: ./ci/ci-script.bash - - name: Tar up repository - working-directory: ${{ github.workspace }} - run: tar --posix -c -z -f ${{ env.VERILATOR_ARCHIVE }} repo - - - name: Upload tar archive - uses: actions/upload-artifact@v4 - with: - path: ${{ github.workspace }}/${{ env.VERILATOR_ARCHIVE }} - name: ${{ env.VERILATOR_ARCHIVE }} + - name: Tar up repository + working-directory: ${{ github.workspace }} + run: tar --posix -c -z -f ${{ env.VERILATOR_ARCHIVE }} repo + - name: Upload tar archive + uses: actions/upload-artifact@v4 + with: + path: ${{ github.workspace }}/${{ env.VERILATOR_ARCHIVE }} + name: ${{ env.VERILATOR_ARCHIVE }} Test: needs: Build strategy: fail-fast: false matrix: - test: - - vlt- - - vltmt- - num: - - 0 - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 + test: [vlt-, vltmt-] + num: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] include: - - { test: dist, num: '' } + - {test: dist, num: ''} runs-on: ubuntu-22.04 name: test-${{ matrix.test }}${{ matrix.num }} env: @@ -79,27 +66,27 @@ jobs: CI_RUNS_ON: ubuntu-22.04 steps: - - name: Download tar archive - uses: actions/download-artifact@v4 - with: - name: ${{ env.VERILATOR_ARCHIVE }} - path: ${{ github.workspace }} + - name: Download tar archive + uses: actions/download-artifact@v4 + with: + name: ${{ env.VERILATOR_ARCHIVE }} + path: ${{ github.workspace }} - - name: Unpack tar archive - working-directory: ${{ github.workspace }} - run: tar -x -z -f ${{ env.VERILATOR_ARCHIVE }} + - name: Unpack tar archive + working-directory: ${{ github.workspace }} + run: tar -x -z -f ${{ env.VERILATOR_ARCHIVE }} - - name: Install test dependencies - run: ./ci/ci-install.bash + - name: Install test dependencies + run: ./ci/ci-install.bash - - name: Test - env: - TESTS: coverage-${{ matrix.test }}${{ matrix.num }} - run: ./ci/ci-script.bash + - name: Test + env: + TESTS: coverage-${{ matrix.test }}${{ matrix.num }} + run: ./ci/ci-script.bash - - name: Upload coverage data to Codecov - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - run: | - find . -name '*.gcno' -exec rm {} \; - ./ci/codecov -v upload-process -Z --sha ${{ github.sha }} -f nodist/obj_dir/coverage/app_total.info + - name: Upload coverage data to Codecov + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + run: | + find . -name '*.gcno' -exec rm {} \; + ./ci/codecov -v upload-process -Z --sha ${{ github.sha }} -f nodist/obj_dir/coverage/app_total.info diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7a55fa921..574d77b35 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,3 +1,4 @@ +--- # Build and push verilator docker image when tags are pushed to the repository. # The following variable(s) must be configured in the github repository: # DOCKER_HUB_NAMESPACE: docker hub namespace. @@ -8,7 +9,7 @@ name: Build Verilator Container on: push: - tags: [ 'v*' ] + tags: ['v*'] workflow_dispatch: inputs: manual_tag: @@ -34,52 +35,52 @@ jobs: # - "ci/docker/buildenv:verilator-buildenv" steps: - - name: Checkout - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - - name: Extract context variables - run: | - echo "${{ matrix.contexts }}" | sed -r 's/(.*):.*/build_context=\1/' >> "$GITHUB_ENV" - echo "${{ matrix.contexts }}" | sed -r 's/.*:(.*)/image_name=\1/' >> "$GITHUB_ENV" - echo "git_tag=${GITHUB_REF#refs/*/}" >> "$GITHUB_ENV" + - name: Extract context variables + run: | + echo "${{ matrix.contexts }}" | sed -r 's/(.*):.*/build_context=\1/' >> "$GITHUB_ENV" + echo "${{ matrix.contexts }}" | sed -r 's/.*:(.*)/image_name=\1/' >> "$GITHUB_ENV" + echo "git_tag=${GITHUB_REF#refs/*/}" >> "$GITHUB_ENV" - - name: Use manual tag - if: ${{ inputs.manual_tag }} - run: | - echo "git_tag=${{ inputs.manual_tag }}" >> "$GITHUB_ENV" + - name: Use manual tag + if: ${{ inputs.manual_tag }} + run: | + echo "git_tag=${{ inputs.manual_tag }}" >> "$GITHUB_ENV" - - name: Docker meta - id: docker_meta - uses: docker/metadata-action@v4 - with: - images: | - ${{ vars.DOCKER_HUB_NAMESPACE }}/${{ env.image_name }} - tags: | - type=match,pattern=(v.*),group=1,enable=${{ startsWith(github.ref, 'refs/tags/v') }} - type=raw,value=${{ inputs.manual_tag }},enable=${{ inputs.manual_tag != '' }} - type=raw,value=latest,enable=${{ inputs.add_latest_tag == true }} + - name: Docker meta + id: docker_meta + uses: docker/metadata-action@v4 + with: + images: | + ${{ vars.DOCKER_HUB_NAMESPACE }}/${{ env.image_name }} + tags: | + type=match,pattern=(v.*),group=1,enable=${{ startsWith(github.ref, 'refs/tags/v') }} + type=raw,value=${{ inputs.manual_tag }},enable=${{ inputs.manual_tag != '' }} + type=raw,value=latest,enable=${{ inputs.add_latest_tag == true }} - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - with: + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + with: buildkitd-flags: --debug - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_HUB_USER }} - password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_HUB_USER }} + password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - - name: Build and Push to Docker - uses: docker/build-push-action@v4 - if: startsWith(github.ref, 'refs/tags/v') - with: - context: ${{ env.build_context }} - build-args: SOURCE_COMMIT=${{ env.git_tag }} - platforms: linux/arm64,linux/amd64 - push: ${{ !env.ACT && startsWith(github.ref, 'refs/tags/v') }} - tags: ${{ steps.docker_meta.outputs.tags }} - labels: ${{ steps.docker_meta.outputs.labels }} + - name: Build and Push to Docker + uses: docker/build-push-action@v4 + if: startsWith(github.ref, 'refs/tags/v') + with: + context: ${{ env.build_context }} + build-args: SOURCE_COMMIT=${{ env.git_tag }} + platforms: linux/arm64,linux/amd64 + push: ${{ !env.ACT && startsWith(github.ref, 'refs/tags/v') }} + tags: ${{ steps.docker_meta.outputs.tags }} + labels: ${{ steps.docker_meta.outputs.labels }} diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 6a498715d..4fbd884c5 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,13 +1,12 @@ +--- # DESCRIPTION: Github actions config # SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 - +# name: format - on: push: pull_request_target: workflow_dispatch: - jobs: format: runs-on: ubuntu-22.04 diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 95c5ceee1..b7e5677c6 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -1,55 +1,50 @@ +--- # DESCRIPTION: Github actions config # This name is key to badges in README.rst, so we use the name build # SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 - +# name: msbuild - on: push: pull_request: workflow_dispatch: schedule: - - cron: '0 0 * * 0' # weekly - + - cron: 0 0 * * 0 # weekly env: CI_OS_NAME: win CI_COMMIT: ${{ github.sha }} CCACHE_COMPRESS: 1 CCACHE_DIR: ${{ github.workspace }}/.ccache CCACHE_LIMIT_MULTIPLE: 0.95 - defaults: run: working-directory: repo - concurrency: group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }} cancel-in-progress: true - jobs: - - windows: + windows: name: run on windows runs-on: windows-latest steps: - - uses: actions/checkout@v4 - with: - path: repo - - name: Cache $CCACHE_DIR - uses: actions/cache@v4 - with: - path: ${{ env.CCACHE_DIR }} - key: msbuild-msvc-cmake - - name: compile - env: - WIN_FLEX_BISON: ${{ github.workspace }}/.ccache - run: ./ci/ci-win-compile.ps1 - - name: test build - run: ./ci/ci-win-test.ps1 - - name: Zip up repository - run: Compress-Archive -LiteralPath install -DestinationPath verilator.zip - - name: Upload zip archive - uses: actions/upload-artifact@v4 - with: - path: ${{ github.workspace }}/repo/verilator.zip - name: verilator-win.zip + - uses: actions/checkout@v4 + with: + path: repo + - name: Cache $CCACHE_DIR + uses: actions/cache@v4 + with: + path: ${{ env.CCACHE_DIR }} + key: msbuild-msvc-cmake + - name: compile + env: + WIN_FLEX_BISON: ${{ github.workspace }}/.ccache + run: ./ci/ci-win-compile.ps1 + - name: test build + run: ./ci/ci-win-test.ps1 + - name: Zip up repository + run: Compress-Archive -LiteralPath install -DestinationPath verilator.zip + - name: Upload zip archive + uses: actions/upload-artifact@v4 + with: + path: ${{ github.workspace }}/repo/verilator.zip + name: verilator-win.zip diff --git a/Makefile.in b/Makefile.in index 5b8879508..3535e5037 100644 --- a/Makefile.in +++ b/Makefile.in @@ -458,6 +458,11 @@ clang-format: || echo "*** You are not using clang-format-14, indents may differ from master's ***" $(CLANGFORMAT) $(CLANGFORMAT_FLAGS) $(CLANGFORMAT_FILES) +YAMLFIX = YAMLFIX_WHITELINES=1 YAMLFIX_LINE_LENGTH=130 YAMLFIX_preserve_quotes=true yamlfix + +yamlfix: + $(YAMLFIX) . + # Python programs, subject to format and lint PY_PROGRAMS = \ bin/verilator_ccache_report \ diff --git a/codecov.yml b/codecov.yml index c03de64cb..bd2ee7f52 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,4 @@ +--- # DESCRIPTION: codecov.io config # # Copyright 2020-2024 by Wilson Snyder. This program is free software; you @@ -8,31 +9,28 @@ #################### # Validate: # curl --data-binary @codecov.yml https://codecov.io/validate - +# codecov: - require_ci_to_pass: no - + require_ci_to_pass: false coverage: precision: 2 round: down - range: "50...100" + range: 50...100 ignore: - - "ci" - - "docs" - - "examples" - - "include/gtkwave" - - "include/vltstd" - - "test_regress" - + - "ci" # + - "docs" # + - "examples" # + - "include/gtkwave" # + - "include/vltstd" # + - "test_regress" # parsers: gcov: branch_detection: - conditional: yes - loop: yes - method: no - macro: no - + conditional: true + loop: true + method: false + macro: false comment: layout: "reach,diff,flags,tree" behavior: default - require_changes: yes + require_changes: true