-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that each patch file is buildable (#1495)
* Check that each patch file is buildable * merge patch 5 and 3 * group outputs
- Loading branch information
Showing
11 changed files
with
748 additions
and
748 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# 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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
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" | ||
- name: Build patches | ||
run: | | ||
for file in $(ls -v patches/*.patch); do | ||
echo "::group::Building $file" | ||
cd go | ||
git am --whitespace=nowarn ../$file | ||
cd src | ||
bash make.bash | ||
cd ../../ | ||
echo "::endgroup::" | ||
done |
This file contains 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
Oops, something went wrong.