Added feature to generate compile_commands.json file #1348
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Cleanliness Checks | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5 | |
with: | |
maven-version: 3.9.2 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && sudo apt-get install -y --no-install-recommends \ | |
libxml2-utils | |
- name: Install Eclipse SDK | |
run: | | |
curl -sL https://download.eclipse.org/eclipse/downloads/drops4/R-4.23-202203080310/eclipse-SDK-4.23-linux-gtk-x86_64.tar.gz | tar xz | |
- name: Run Check Code Cleanliness | |
run: ECLIPSE=$PWD/eclipse/eclipse ./releng/scripts/check_code_cleanliness_only.sh | |
- name: Run Bundle Versions Bumped | |
run: ./releng/scripts/check_bundle_versions.sh | |
- name: Report on Bundle Versions Bumped | |
run: ./releng/scripts/check_bundle_versions_report.sh | |
- name: Upload Logs | |
uses: actions/upload-artifact@v3 | |
if: success() || failure() | |
with: | |
name: Code Cleanliness Detailed Logs | |
path: '*.log' |