[hwe] Revisit driver list for HWE kernel #15
Workflow file for this run
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: PR Build | |
| on: # yamllint disable-line rule:truthy | |
| pull_request_target: | |
| branches: | |
| - "gha-test-rebase" | |
| - "eve-kernel-next-*" | |
| - "eve-kernel-*" | |
| paths-ignore: | |
| - ".github/**" | |
| concurrency: | |
| group: pr-build-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| flavor: [core, hwe] | |
| fail-fast: false | |
| max-parallel: 2 | |
| runs-on: [runner-xl, X64, Linux] | |
| steps: | |
| - name: Set sanitized branch name | |
| id: branch-setter | |
| run: | | |
| BRANCH_NAME="${{ github.event.pull_request.head.ref }}" | |
| SAFE_BRANCH="${BRANCH_NAME//\//-}" | |
| echo "SAFE_BRANCH=$SAFE_BRANCH" >> $GITHUB_ENV | |
| - name: Checkout PR code | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| fetch-depth: 1 | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_PULL_USER }} | |
| password: ${{ secrets.DOCKERHUB_PULL_TOKEN }} | |
| - name: Build kernel flavor ${{ matrix.flavor }} | |
| run: | | |
| make -f Makefile.eve \ | |
| KERNEL_CONFIG_FLAVOR=${{ matrix.flavor }} \ | |
| BRANCH=$SAFE_BRANCH \ | |
| kernel-gcc |