Skip to content

ci: add multi-platform build tests, coverage and code quality workflows#6573

Open
0xbigapple wants to merge 60 commits intotronprotocol:developfrom
0xbigapple:feature/migrate_ci
Open

ci: add multi-platform build tests, coverage and code quality workflows#6573
0xbigapple wants to merge 60 commits intotronprotocol:developfrom
0xbigapple:feature/migrate_ci

Conversation

@0xbigapple
Copy link

Summary

This PR enhances the CI pipeline by introducing multi-platform build tests, code quality checks, system tests, and coverage reporting workflows.

Changes

1. Multi-platform build tests

Add build tests across multiple platforms and architectures:

  • Ubuntu — x86_64 + JDK 8 and aarch64 + JDK 17
  • macOS — x86_64 + JDK 8 and aarch64 + JDK 17

2. Debian 11 build test

Add a Debian 11 build test using the eclipse-temurin:8-jdk base image.

3. Rocky Linux build test

Since CentOS 7 and CentOS 8 images are not supported in GitHub-hosted runners, as described in the
GitHub-hosted runners documentation, a Rocky Linux build test has been added as a compatible replacement for CentOS 8.

4. JaCoCo coverage workflow

Add a JaCoCo coverage workflow to generate and upload coverage reports.
This workflow is dependent on the Rocky Linux build test.

Required secrets:

  • secrets.CODECOV_TOKEN — used to upload coverage artifacts
  • secrets.CODECOV_API_TOKEN — used to access coverage reports

5. Checkstyle workflow

Add a workflow to perform Checkstyle code style checks.

6. SonarCloud analysis workflow

Add a SonarCloud analysis workflow for static code analysis.

Required secret:

  • secrets.SONAR_TOKEN

7. System test workflow

Add a workflow to execute a subset of daily build test cases from
https://github.com/tronprotocol/system-test.

The workflow performs the following steps:

  • Start a network with one node with two SRs
  • Test core APIs
  • Deploy smart contracts
  • Trigger smart contract execution

@0xbigapple 0xbigapple changed the title ci: Add multi-platform build tests, coverage reporting and code quality workflows ci: Add multi-platform build tests, coverage and code quality workflows Mar 9, 2026
@0xbigapple 0xbigapple changed the title ci: Add multi-platform build tests, coverage and code quality workflows ci: add multi-platform build tests, coverage and code quality workflows Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants