1name: Check Makefile for UEFI 2 3on: 4 push: 5 branches: [ master ] 6 pull_request: 7 branches: [ master ] 8 9# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency 10# Ensure that only one commit will be running tests at a time on each push 11concurrency: 12 group: ${{ github.ref }}-${{ github.workflow }} 13 cancel-in-progress: true 14 15jobs: 16 build: 17 if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }} 18 runs-on: ubuntu-22.04 19 name: Build using Makefile for UEFI 20 steps: 21 - uses: actions/checkout@v4 22 - uses: ammaraskar/gcc-problem-matcher@master 23 - name: Install prerequisites 24 run: scripts/install-prerequisites.sh 25 - name: Install clang 26 run: sudo apt-get install clang lld 27 - name: Build 28 working-directory: tests/makefile_uefi 29 run: make -j 30