From cb9431ce591a6110200e3e06261cafaabe7229b4 Mon Sep 17 00:00:00 2001 From: Jaroslav Bachorik Date: Fri, 22 Aug 2025 08:21:27 +0200 Subject: [PATCH 1/3] Remove cppcheck GH job --- .github/workflows/codecheck.yml | 41 --------------------------------- 1 file changed, 41 deletions(-) diff --git a/.github/workflows/codecheck.yml b/.github/workflows/codecheck.yml index 05ded44b2..541407d34 100644 --- a/.github/workflows/codecheck.yml +++ b/.github/workflows/codecheck.yml @@ -53,47 +53,6 @@ jobs: with: body-file: comment.html - cppcheck: - if: needs.check-for-pr.outputs.skip != 'true' - runs-on: ubuntu-latest - env: - HEAD_REF: ${{ github.head_ref }} - steps: - - uses: actions/checkout@v3 - - name: System setup - run: | - sudo apt-get update - sudo apt install -y cppcheck xsltproc - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: 3.9 - - name: Install Python dependencies - run: | - python -m pip install --upgrade pip - pip install beautifulsoup4 - - name: Run Cppcheck - id: run-cppcheck - run: | - cppcheck --quiet --force --enable=all --std=c++17 --language=c++ --inline-suppr --suppressions-list=.github/scripts/cppcheck-suppressions.txt --xml --output-file=report.xml ddprof-lib/src/main/cpp/* - xsltproc --output report.html .github/scripts/cppcheck-html.xslt report.xml - xsltproc --output report-gh.html .github/scripts/cppcheck-gh.xslt report.xml - sed -i "s#target_branch#${HEAD_REF}#g" report.html - sed -i "s#target_branch#${HEAD_REF}#g" report-gh.html - python .github/scripts/python_utils.py cppcheck_cleanup report-gh.html >> comment.html - - name: Upload logs - uses: actions/upload-artifact@v4 - if: always() - with: - name: cppcheck-report - path: | - report.html - report.xml - - name: Comment on PR - uses: ./.github/actions/upsert-pr-comment - with: - body-file: comment.html - codeql: if: needs.check-for-pr.outputs.skip != 'true' runs-on: ubuntu-latest From caf593b2283cc35f9148beb85670cf04d6038b70 Mon Sep 17 00:00:00 2001 From: Jaroslav Bachorik Date: Fri, 22 Aug 2025 10:03:57 +0200 Subject: [PATCH 2/3] Improve build and reports artifact naming for better GitHub UI sorting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change artifact names to lead with category in brackets for better organization: - 'test-platform (java, config) (reports)' → '[reports] test-platform (java, config)' - 'test-platform (java, config) (build)' → '[build] test-platform (java, config)' Leave failures artifacts unchanged as they may be used downstream. This groups build and reports artifacts by type in the GitHub UI. --- .github/workflows/test_workflow.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test_workflow.yml b/.github/workflows/test_workflow.yml index c9738218d..67f3ef944 100644 --- a/.github/workflows/test_workflow.yml +++ b/.github/workflows/test_workflow.yml @@ -103,7 +103,7 @@ jobs: - uses: actions/upload-artifact@v4 if: success() with: - name: test-linux-glibc-amd64 (${{ matrix.java_version }}, ${{ matrix.config }})] (build) + name: (build) test-linux-glibc-amd64 (${{ matrix.java_version }}, ${{ matrix.config }}) path: build/ - uses: actions/upload-artifact@v4 if: failure() @@ -117,7 +117,7 @@ jobs: - uses: actions/upload-artifact@v4 if: failure() with: - name: test-linux-glibc-amd64 (${{ matrix.java_version }}, ${{ matrix.config }}) (reports) + name: (reports) test-linux-glibc-amd64 (${{ matrix.java_version }}, ${{ matrix.config }}) path: reports test-linux-musl-amd64: @@ -206,7 +206,7 @@ jobs: - uses: actions/upload-artifact@v4 if: success() with: - name: test-linux-musl-amd64 (${{ matrix.java_version }}, ${{ matrix.config }})] (build) + name: (build) test-linux-musl-amd64 (${{ matrix.java_version }}, ${{ matrix.config }}) path: build/ - uses: actions/upload-artifact@v4 if: failure() @@ -220,7 +220,7 @@ jobs: - uses: actions/upload-artifact@v4 if: failure() with: - name: test-linux-musl-amd64 (${{ matrix.java_version }}, ${{ matrix.config }}) (reports) + name: (reports) test-linux-musl-amd64 (${{ matrix.java_version }}, ${{ matrix.config }}) path: reports test-linux-glibc-aarch64: @@ -317,7 +317,7 @@ jobs: - uses: actions/upload-artifact@v4 if: success() with: - name: test-linux-glibc-aarch64 (${{ matrix.java_version }}, ${{ matrix.config }})] (build) + name: (build) test-linux-glibc-aarch64 (${{ matrix.java_version }}, ${{ matrix.config }}) path: build/ - uses: actions/upload-artifact@v4 if: failure() @@ -331,7 +331,7 @@ jobs: - uses: actions/upload-artifact@v4 if: failure() with: - name: test-linux-glibc-aarch64 (${{ matrix.java_version }}, ${{ matrix.config }}) (reports) + name: (reports) test-linux-glibc-aarch64 (${{ matrix.java_version }}, ${{ matrix.config }}) path: reports test-linux-musl-aarch64: @@ -397,7 +397,7 @@ jobs: - uses: actions/upload-artifact@v4 if: success() with: - name: test-linux-musl-aarch64 (${{ matrix.java_version }}, ${{ matrix.config }})] (build) + name: (build) test-linux-musl-aarch64 (${{ matrix.java_version }}, ${{ matrix.config }}) path: build/ - uses: actions/upload-artifact@v4 if: failure() @@ -411,5 +411,5 @@ jobs: - uses: actions/upload-artifact@v4 if: failure() with: - name: test-linux-musl-aarch64 (${{ matrix.java_version }}, ${{ matrix.config }}) (reports) + name: (reports) test-linux-musl-aarch64 (${{ matrix.java_version }}, ${{ matrix.config }}) path: reports From 49a04f649a1ad491f44f7a95b6173ffcd5f369c3 Mon Sep 17 00:00:00 2001 From: Jaroslav Bachorik Date: Fri, 22 Aug 2025 12:17:49 +0200 Subject: [PATCH 3/3] Update IBM Java 8 URL --- .github/workflows/cache_java.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cache_java.yml b/.github/workflows/cache_java.yml index 9c19ccb5e..5291d71e0 100644 --- a/.github/workflows/cache_java.yml +++ b/.github/workflows/cache_java.yml @@ -34,7 +34,7 @@ env: # jdk1.8.0_361 JAVA_8_ORACLE_URL: "https://javadl.oracle.com/webapps/download/AutoDL?BundleId=247926_0ae14417abb444ebb02b9815e2103550" - JAVA_8_IBM_URL: "https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/8.0.8.40/linux/x86_64/ibm-java-jre-8.0-8.40-linux-x86_64.tgz" + JAVA_8_IBM_URL: "https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/8.0.8.50/linux/x86_64/ibm-java-jre-8.0-8.50-linux-x86_64.tgz" JAVA_8_ZING_URL : "https://cdn.azul.com/zing-zvm/ZVM23.05.0.0/zing23.05.0.0-2-jdk8.0.372-linux_x64.tar.gz" JAVA_8_ZING_AARCH64_URL : "https://cdn.azul.com/zing-zvm/ZVM24.10.0.0/zing24.10.0.0-4-jdk8.0.431-linux_aarch64.tar.gz"