-
Notifications
You must be signed in to change notification settings - Fork 145
ci: include a Visual Studio build & test in our Azure Pipeline #288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4c664c9
to
09dc727
Compare
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
09dc727
to
633a51c
Compare
633a51c
to
4ef33d3
Compare
Let's rework this to kill two birds with one stone: use the generated |
The build step should do the equivalent of |
This function is marked as `NORETURN`, and it indeed does not want to return anything. So let's not declare it with the return type `int`. This fixes the following warning when building with MSVC: C4646: function declared with 'noreturn' has non-void return type Signed-off-by: Johannes Schindelin <[email protected]>
1ca1aa2
to
ece2969
Compare
/submit |
Submitted as [email protected] WARNING: dscho has no public email address set on GitHub |
ece2969
to
7af1c01
Compare
/submit |
Submitted as [email protected] |
This branch is now known as |
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
This patch series was integrated into pu via git@84f34db. |
On the Git mailing list, Johannes Schindelin wrote (reply to this):
|
On the Git mailing list, Johannes Schindelin wrote (reply to this):
|
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
On the Git mailing list, Junio C Hamano wrote (reply to this):
|
This patch series was integrated into pu via git@f21a852. |
This patch series was integrated into next via git@d5a3604. |
On the Git mailing list, Thomas Gummerer wrote (reply to this):
|
@@ -546,7 +546,7 @@ static HANDLE swap_osfhnd(int fd, HANDLE new_handle) | |||
typedef struct _OBJECT_NAME_INFORMATION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Alban Gruin wrote (reply to this):
Hi Johannes,
Le 04/10/2019 à 17:09, Johannes Schindelin via GitGitGadget a écrit :
> From: Johannes Schindelin <[email protected]>
>
> MSVC would complain thusly:
>
> C4200: nonstandard extension used: zero-sized array in struct/union
>
> Let's just use the `FLEX_ARRAY` constant that we introduced for exactly
> this type of scenario.
Perhaps this is a good candidate for a semantic patch?
Cheers,
Alban
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This patch series was integrated into pu via git@d5caf5b. |
This comment has been minimized.
This comment has been minimized.
This patch series was integrated into pu via git@2baa6cf. |
This patch series was integrated into pu via git@3a9af0c. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This patch series was integrated into pu via git@47102f2. |
This comment has been minimized.
This comment has been minimized.
This patch series was integrated into pu via git@6d5291b. |
This patch series was integrated into next via git@6d5291b. |
This patch series was integrated into master via git@6d5291b. |
Closed via 6d5291b. |
Git's Continuous Integration (CI) includes an Azure Pipeline that builds Git on Linux, macOS and Windows, in the former two cases even in multiple configurations (using GCC vs clang, 32-bit vs 64-bit, etc). On Windows, we only build using GCC, using (a subset of) Git for Windows' SDK.
Recently, a patch series made it into Git that re-instates the ability to generate project files for use with Visual Studio. The idea there being: contributors can check out a special branch that has those generated files in one generated commit on top of e.g. Git for Windows'
master
, allowing the contributors to build Git in Visual Studio, without the need for downloading Git for Windows' SDK (which weighs quite a bit: ~600MB download, ~2GB disk footprint). The tests can then be run from a regular Git for Windows Bash.This patch series adds that axis to Git's Azure Pipeline: the project files are generated, MSBuild (which is kind of the command-line equivalent of Visual Studio's "Build" operation) is used to build Git, and then a parallelized test job runs the test suite in a Portable Git.
These patches are based on
js/visual-studio
.Changes since v2:
Changes since v1:
-1 - <unsigned>
arithmetic.test_expect_success
call.Cc: Denton Liu [email protected]