Skip to content

Check that each patch file is buildable #7

Check that each patch file is buildable

Check that each patch file is buildable #7

Workflow file for this run

# Copyright (c) Microsoft Corporation.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# This job tests that each patch file is buildable (in numerical order)
name: "Patch Build"
on:
pull_request:
branches: [ microsoft/* ]
jobs:
build_patches:
name: Patches Build in Order
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set mock git config name/email
run: |
git config --global user.email "[email protected]"
git config --global user.name "Joe Blogs"
- run: |
for file in $(ls -v patches/*.patch); do
cd go
echo "Applying $file"
git am ../$file
echo "Building $file"
cd src
bash make.bash
cd ../../
done