diff options
-rw-r--r-- | .github/workflows/lint.yml | 38 | ||||
-rw-r--r-- | iwyu.imp | 8 |
2 files changed, 0 insertions, 46 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d129507..e09454b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,10 +11,6 @@ on: schedule: - cron: '0 10 * * *' -env: - SCE_ROOT_DIR: ${{ github.workspace }}/ci-base/SCE - SCE_PSP2_SDK_DIR: ${{ github.workspace }}/ci-base/sdk - jobs: lint: @@ -25,13 +21,6 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Checkout CI base - uses: actions/checkout@v2 - with: - repository: Vita-Development-Suite/ci-base - path: ci-base - token: ${{ secrets.PRIVATE_REPO_TOKEN }} - - name: Check NIDs sort run: | python3 scripts/nids-check-sort.py @@ -43,30 +32,3 @@ jobs: - name: Check NIDs digest run: | python3 scripts/nids-check-digest.py - - - name: Check IWYU - run: | - sudo apt-get -qy install iwyu - python3 scripts/gen-test-compile.py - IWYU_COMMON_OPTS=" \ - -Xiwyu --mapping_file=iwyu.imp \ - -Xiwyu --no_comment \ - -Xiwyu --verbose=1 \ - -isystem ${{ env.SCE_PSP2_SDK_DIR }}/target/include \ - -isystem ${{ env.SCE_PSP2_SDK_DIR }}/target/include_common \ - -isystem ${{ env.SCE_PSP2_SDK_DIR }}/host_tools/build/include \ - --target=armv7a-none-eabi \ - -D __builtin_scei_arm_mrc(...)=0 \ - -D __builtin_scei_arm_mcr(...)=0 \ - -D __builtin_scei_arm_mcrr(...)=0 \ - -D __builtin_scei_arm_dsb_sy(...)=0 \ - -D __builtin_scei_arm_dmb_sy(...)=0" - find include/common -type f -exec \ - iwyu -Xiwyu --check_also='{}' all-common.cpp \ - -isystem include/common $IWYU_COMMON_OPTS ';' - find include/user -type f -exec \ - iwyu -Xiwyu --check_also='{}' all-user.cpp \ - -isystem include/user -isystem include/common $IWYU_COMMON_OPTS ';' - find include/kernel -type f -exec \ - iwyu -Xiwyu --check_also='{}' all-kernel.cpp \ - -isystem include/kernel -isystem include/common $IWYU_COMMON_OPTS ';' diff --git a/iwyu.imp b/iwyu.imp deleted file mode 100644 index d45f709..0000000 --- a/iwyu.imp +++ /dev/null @@ -1,8 +0,0 @@ -[ - { include: ["@<gxm/.*>", "private", "<gxm.h>", "public"] }, - { include: ["@<kernel/iofilemgr_.*>", "private", "<kernel/iofilemgr.h>", "public"] }, - { include: ["@<net/.*>", "private", "<net.h>", "public"] }, - { include: ["@<scebase_common/.*>", "private", "<scebase_common.h>", "public"] }, - { include: ["@<shacccg/.*>", "private", "<shacccg.h>", "public"] }, - { symbol: ["SceSize", "private", "<scetypes.h>", "public"]}, -] |