These actions are commonly used steps in STOL's GitHub workflows.
Add STOL apt repository to /etc/apt/sources.list.d
.
See action.yml.
Build a typical STOL C++ library using the library's build.sh script. Can pass in suffix info for Debian package name.
See action.yml.
Setup deb-s3 and optionally install minimal helpful tools for building Debian/Ubuntu packages.
See action.yml.
Run SonarScanner.
To use ensure the following steps have been taken:
- The Sonar project has been created under https://sonarcloud.io/organizations/usdot-fhwa-stol/projects.
- The Sonar project has been set to give Administer Issues privileges to the Issue Administrators group. This allows developers to mark issues as false postive or won't fix as necessary because the scanner is not perfect.
See action.yml.
There are resuable workflows included in this repository.
Run a C++ build for STOL projects using the carma-builds Docker container. Includes git revision info in the Debian package name for non-tag builds.
See cpp-module-build.yml.
Get the git revision info string for a repository and store it in the output git-revision-info.
Run Sonar Scan for C++ projects for STOL projects
To use ensure the following steps have been taken:
- The steps above for the sonar-scanner action have been completed.
- The token from the Sonar project has been added to the target repository under Settings -> Secrets and Variables -> Actions as SONAR_TOKEN in the "Repository secrets" section.