From 1eab599bc630345c6dc0c1bb657d925235572052 Mon Sep 17 00:00:00 2001 From: Hubert Badocha Date: Sun, 10 Dec 2023 14:03:17 +0100 Subject: [PATCH] libphoenix PIC: perf tests --- .github/actions/phoenix-build/action.yml | 5 ++ .github/workflows/ci-project.yml | 5 ++ .github/workflows/ci.yml | 6 +- .github/workflows/lint.yml | 100 ----------------------- libphoenix | 2 +- 5 files changed, 16 insertions(+), 102 deletions(-) delete mode 100644 .github/workflows/lint.yml diff --git a/.github/actions/phoenix-build/action.yml b/.github/actions/phoenix-build/action.yml index 696ad6fe7..9ee03b478 100644 --- a/.github/actions/phoenix-build/action.yml +++ b/.github/actions/phoenix-build/action.yml @@ -29,6 +29,10 @@ inputs: description: 'Build additional tests' default: false required: false + libphoenix_nopic: + description: 'LIBPHOENIX_NOPIC' + default: 'n' + required: false # action runner runs: @@ -41,6 +45,7 @@ runs: SYSPAGE: ${{ inputs.syspage }} CI_CUSTOM_BUILDROOT: ${{ inputs.buildroot }} LONG_TEST: ${{ inputs.nightly == 'true' && 'y' || 'n' }} + LIBPHOENIX_NOPIC: ${{ inputs.libphoenix_nopic }} args: - ${{ inputs.params }} # note: params will be split by build.sh internally diff --git a/.github/workflows/ci-project.yml b/.github/workflows/ci-project.yml index 724d59a1f..f09a247fd 100644 --- a/.github/workflows/ci-project.yml +++ b/.github/workflows/ci-project.yml @@ -19,6 +19,10 @@ on: type: boolean default: false required: false + libphoenix_nopic: + type: string + default: 'n' + required: false # jobs @@ -55,6 +59,7 @@ jobs: syspage: ${{ matrix.syspage }} params: ${{ inputs.build_params }} ${{ matrix.additional_params }} nightly: ${{ inputs.nightly }} + libphoenix_nopic: ${{ inputs.libphoenix_nopic }} # step 3: tar rootfs - name: Tar rootfs diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af5d919b6..55fed51d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,5 +13,9 @@ on: jobs: call-ci: - uses: phoenix-rtos/phoenix-rtos-project/.github/workflows/ci-project.yml@master + uses: ./.github/workflows/ci-project.yml + with: + nightly: true + build_params: all tests + libphoenix_nopic: n secrets: inherit diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index aacc25f56..000000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,100 +0,0 @@ -# vim:sw=2:ts=2 -# static linters which can be run in a single repo (do not need phoenix-rtos-project) -name: lint - -# on events -on: - push: - branches: - - master - - 'feature/*' - pull_request: - branches: - - master - - 'feature/*' - workflow_call: # reusable workflow - the same jobs in submodules - -jobs: - clang-format: - if: github.event_name == 'push' - name: clang-format - runs-on: ubuntu-latest - steps: - - name: Checkout current repo - uses: actions/checkout@v3 - with: - fetch-depth: 3 # current PR merge commit + 1 back - - - uses: reviewdog/action-setup@v1 - if: false - - # upstream reviewdog doesn't work for now, sideload our static binary - - name: Install reviewdog - run: | - wget http://misc.nalajcie.org/reviewdog -O /tmp/reviewdog 2>/dev/null - chmod +x /tmp/reviewdog - - - name: clang-format - if: true - shell: bash # will enforce -o pipefail - env: - REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - git diff -U0 HEAD^ | clang-format-diff-15 -p1 | /tmp/reviewdog -f=diff -f.diff.strip=0 -name=clang-format -reporter=github-check - - # reviewdog: use clang-format for PR review - clang-format-pr: - if: github.event_name == 'pull_request' - name: clang-format-pr - runs-on: ubuntu-latest - steps: - - name: Checkout current repo - uses: actions/checkout@v3 - with: - fetch-depth: 2 # current PR merge commit + 1 back - - - uses: reviewdog/action-setup@v1 - if: false - - # upstream reviewdog doesn't work for now, sideload our static binary - - name: Install reviewdog - run: | - wget http://misc.nalajcie.org/reviewdog -O /tmp/reviewdog 2>/dev/null - chmod +x /tmp/reviewdog - - - name: clang-format - shell: bash # will enforce -o pipefail - env: - REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - git diff -U0 HEAD^ | clang-format-diff-15 -p1 | /tmp/reviewdog -f=diff -f.diff.strip=0 -name=clang-format-pr -reporter=github-pr-review -fail-on-error - - # reviewdog: codespell for PRs only - codespell-pr: - if: github.event_name == 'pull_request' - name: codespell-pr - runs-on: ubuntu-latest - steps: - - name: Checkout current repo - uses: actions/checkout@v3 - with: - fetch-depth: 2 # current PR merge commit + 1 back - - - name: codespell - uses: nalajcie/action-codespell@master - with: - github_token: ${{ secrets.github_token }} - reporter: github-pr-review - - - # reviewdog: shellcheck - shellcheck-pr: - if: github.event_name == 'pull_request' - name: shellcheck-pr - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: reviewdog/action-shellcheck@v1 - with: - github_token: ${{ secrets.github_token }} - reporter: github-pr-review diff --git a/libphoenix b/libphoenix index bfb6d463c..c4126af88 160000 --- a/libphoenix +++ b/libphoenix @@ -1 +1 @@ -Subproject commit bfb6d463cc1dae2f9a2fc16ed08e927cc0b53171 +Subproject commit c4126af8871cddd3a927d22fd6a9cebca117f344