From 8d2d8c7e7c0b6e63ba1f15e5605721e0b2c6c14d Mon Sep 17 00:00:00 2001 From: fengzero Date: Fri, 17 Oct 2025 06:38:11 +0000 Subject: [PATCH 1/2] fix: arm32 compile error --- src/utils/tpy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/tpy.c b/src/utils/tpy.c index e6b35fca..064ab527 100644 --- a/src/utils/tpy.c +++ b/src/utils/tpy.c @@ -211,7 +211,7 @@ void neu_tpy_to_msg(char *driver, tpy_t *tpy, neu_req_add_gtag_t *cmd) to_neu_type(tpy->statics[i].vars[k].type); cmd->groups[i].tags[k].attribute = NEU_ATTRIBUTE_READ | NEU_ATTRIBUTE_WRITE; - snprintf(address, sizeof(address) - 1, "%ld,%ld", + snprintf(address, sizeof(address) - 1, "%" PRIi64 ",%" PRIi64, tpy->statics[i].vars[k].igroup, tpy->statics[i].vars[k].ioffset); cmd->groups[i].tags[k].address = strdup(address); From f3699f2c3c8c16b275b6a9321bef55d91393e361 Mon Sep 17 00:00:00 2001 From: fengzero Date: Fri, 17 Oct 2025 06:41:19 +0000 Subject: [PATCH 2/2] ci: rm upload cov --- .github/workflows/check.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0a92587f..36fa4351 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -85,22 +85,6 @@ jobs: cmake -DUSE_GCOV=1 .. -DCMAKE_TOOLCHAIN_FILE=../cmake/x86_64-linux-gnu.cmake ctest --output-on-failure - - name: create cov report - run: | - sudo apt-get update - sudo apt-get -y install lcov - mkdir -p cov_report - ./create_cov_report.sh ut - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 - with: - verbose: true - fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }} - directory: ./cov_report/ - files: ./cov_report/cov-ut.info - pft: runs-on: ubuntu-24.04 container: ghcr.io/neugates/build:x86_64-v2.13 @@ -149,19 +133,3 @@ jobs: else pytest -s -v tests/ft/metrics/"test_metrics.py" fi - - - name: create cov report - run: | - sudo apt-get update - sudo apt-get -y install lcov - mkdir -p cov_report - ./create_cov_report.sh ${{ matrix.plugin }} - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 - with: - verbose: true - fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }} - directory: ./cov_report/ - files: ./cov_report/cov-${{ matrix.plugin }}.info \ No newline at end of file