Revert "BACKPORT: UPSTREAM: kbuild: move init/build-version to scripts/" #3009
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build kernel loong64 | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| KBUILD_BUILD_USER: deepin-kernel-sig | |
| KBUILD_BUILD_HOST: deepin-kernel-builder | |
| email: [email protected] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| pull-requests: read | |
| jobs: | |
| build-kernel: | |
| runs-on: [self-hosted, linux, x64] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: "Install Deps" | |
| run: | | |
| git config --global user.email $email | |
| git config --global user.name $KBUILD_BUILD_USER | |
| - name: "Compile kernel" | |
| run: | | |
| # .config | |
| time make ARCH=loongarch CROSS_COMPILE=loongarch64-linux-gnu- deepin_loongarch_desktop_defconfig | |
| time make ARCH=loongarch CROSS_COMPILE=loongarch64-linux-gnu- -j$(nproc) |