name: Check Makefile for UEFI on: push: branches: [ master ] pull_request: branches: [ master ] # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency # Ensure that only one commit will be running tests at a time on each push concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true jobs: build: if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }} runs-on: ubuntu-22.04 name: Build using Makefile for UEFI steps: - uses: actions/checkout@v4 - uses: ammaraskar/gcc-problem-matcher@master - name: Install prerequisites run: scripts/install-prerequisites.sh - name: Install clang run: sudo apt-get install clang lld - name: Build working-directory: tests/makefile_uefi run: make -j