[test] for-next_test #1
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: blktests-ci | |
| on: | |
| pull_request: | |
| jobs: | |
| build-kernel: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Configure git | |
| run: | | |
| git config --global --add safe.directory '*' | |
| - name: Checkout git | |
| run: | | |
| sudo apt-get install -y libelf-dev | |
| mkdir -p linux | |
| cd linux | |
| git init | |
| git remote add origin https://github.com/${{ github.repository }} | |
| git fetch origin --depth=5 ${{ github.event.pull_request.head.sha }} | |
| git reset --hard ${{ github.event.pull_request.head.sha }} | |
| git log -1 | |
| - name: Build kernel | |
| run: | | |
| cd linux | |
| make defconfig | |
| make -j 8 | |