Skip to content

Commit 90d5ecd

Browse files
committed
CI: use crosscompile for loongarch
native build is very slow, use cross to check it for ci. Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent 2b4e34c commit 90d5ecd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-kernel-loong64.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
build-kernel:
17-
runs-on: [self-hosted, linux, loong64]
17+
runs-on: [self-hosted, linux, x64]
1818
steps:
1919
- uses: actions/checkout@v3
2020
- name: "Install Deps"
@@ -25,8 +25,8 @@ jobs:
2525
- name: "Compile kernel"
2626
run: |
2727
# .config
28-
make deepin_loongarch_desktop_defconfig
29-
make -j$(nproc)
28+
time make ARCH=loongarch CROSS_COMPILE=loongarch64-linux-gnu- deepin_loongarch_desktop_defconfig
29+
time make ARCH=loongarch CROSS_COMPILE=loongarch64-linux-gnu- -j$(nproc)
3030
3131
- name: 'Upload Kernel Artifact'
3232
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)