CI: kernel: do not checkout feeds for compile test
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 11 Nov 2022 16:39:33 +0000 (17:39 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 11 Nov 2022 16:50:39 +0000 (17:50 +0100)
Do not checkout feeds for kernel compile test as they will just slowdown
and are not useful to the task.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
.github/workflows/kernel.yml

index 773e843bfda192762b3f0bfaa00d1405aae199a5..6dc40dd0050dd7258a9c99babcb201a6dcef69ac 100644 (file)
@@ -87,30 +87,6 @@ jobs:
         with:
           path: openwrt
 
-      - name: Checkout packages feed
-        uses: actions/checkout@v3
-        with:
-          repository: openwrt/packages
-          path: openwrt/feeds/packages
-
-      - name: Checkout luci feed
-        uses: actions/checkout@v3
-        with:
-          repository: openwrt/luci
-          path: openwrt/feeds/luci
-
-      - name: Checkout routing feed
-        uses: actions/checkout@v3
-        with:
-          repository: openwrt/routing
-          path: openwrt/feeds/routing
-
-      - name: Checkout telephony feed
-        uses: actions/checkout@v3
-        with:
-          repository: openwrt/telephony
-          path: openwrt/feeds/telephony
-
       - name: Fix permission
         run: |
           chown -R buildbot:buildbot openwrt
@@ -122,13 +98,6 @@ jobs:
           echo "TARGET=$TARGET" >> "$GITHUB_ENV"
           echo "SUBTARGET=$SUBTARGET" >> "$GITHUB_ENV"
 
-      - name: Update & Install feeds
-        shell: su buildbot -c "sh -e {0}"
-        working-directory: openwrt
-        run: |
-          ./scripts/feeds update -a
-          ./scripts/feeds install -a
-
       - name: Parse toolchain file
         working-directory: openwrt
         run: |