Граф коммитов

18 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 1956cd6ee9
[devops] Run shellcheck on all files, and fix any issues. (#16508) 2022-10-31 09:12:16 +01:00
Rolf Bjarne Kvinge a047ce5cf3
[devops] Add a makefile target to run yamllint on our yaml files. (#16298)
Also fix all our yaml files according to yamllint. This is mostly whitespace changes.
2022-10-10 23:35:25 +02:00
Rolf Bjarne Kvinge ed4c89d0d8
Make package signing work with some platforms disabled. (#16039)
Change package signing so that we only try to sign packages for platforms that aren't disabled.

This makes the 'Prepare packages' job green in Azure Devops.

The 'Prepare Release' job still fails in the 'Convert NuGet to MSI' step (for
the branch I've been working on), because the package names are too long for
MSIs. This should be resolved for a proper release branch (i.e. when this PR
is merged), because package names are much shorter in a release branch.

Example results: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=6711641&view=results

Backport of #16028.
2022-09-21 20:46:13 +02:00
Rolf Bjarne Kvinge 231f66034d
[devops] We don't need VSMac installed anymore. (#15998) 2022-09-21 20:38:57 +02:00
Rolf Bjarne Kvinge 9db89b6188
[devops] Only install XI/XM package if corresponding build is enabled. (#15931)
Only install the XI and/or XM package if the corresponding part of the build is enabled.

Also don't install either if the legacy Xamarin build is disabled.
2022-09-13 08:36:11 +02:00
Rolf Bjarne Kvinge a1d0b6eba9
Make our local .NET the default .NET for the build. (#15086)
Make our local .NET the default .NET (in the root's global.json), and then if
a directory wants to use the system .NET, then that directory would have to
opt-in (using its own global.json).

This way we don't have to copy global.json/NuGet.config files around to run
tests with the correct .NET setup.
2022-06-07 10:11:02 +02:00
Rolf Bjarne Kvinge e44d0fd047
[.NET] Rename several DOTNET6_* variables to to DOTNET_*. (#14463)
Also rename DOTNET_VERSION to SYSTEM_DOTNET_VERSION to make it clear what it's
referring to (and to not clash with DOTNET6_VERSION which has now been renamed
to DOTNET_VERSION).

.NET 7 is right around the corner.
2022-03-23 08:07:34 +01:00
Manuel de la Pena e07b7bef79
[CI] Move tests outside of the build machine. (#14105)
Move the execution of tests to a diff bot to be compliant with the latests EO.
2022-03-10 23:36:37 -05:00
Manuel de la Pena 08b6dfe776
[CI] Allow to choose nuget publishing feeds based in the repo id. (#12909)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2021-10-04 11:49:17 -04:00
TJ Lambert 8ea2dcac0c
[Localization] Turning on OneLocBuild (#10843) 2021-03-15 13:50:21 -05:00
Alex Soto df769bf654
[tests] Get samples build tests running again (#10677)
* The manifest is gone, now we create an on the fly "manifest" using the "vsts-devdiv artifacts" json file
* Points VSMac to the selected Xcode path
* Switch to templated Xcode provisioning
* Turn Xcode symlinks into actual Xcode installations
2021-02-21 10:24:26 -05:00
Manuel de la Pena d81575caa1
[CI][VSTS]Add support to run the tests in older versions of macOS (#10585)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2021-02-09 17:11:41 -05:00
Rolf Bjarne Kvinge 7584ada30d
Bump to .NET 6.0.100-alpha.1.21060.3. (#10388)
* Bump to .NET 6.0.100-alpha.1.21060.3.

* Fix dotnet command line arguments.

* dotnet build: the project file must be the first argument.
* dotnet build/publish: use the documented verbosity format.

* Update version number in tests.

* [tests/introspection] Adjust introspection to cope with different library names in the new .NET version.

* [tests/link sdk] Adjust the LinkSdkRegressionTest.SpecialFolder test according to the new version of .NET 6.

* [tests/link sdk] Preserve a required method in System.Private.CoreLib to work around a bug in .NET 6.

Ref: https://github.com/dotnet/runtime/issues/46908.

* Revert "[CI][VSTS] Add the donet 6 pkg as a dependency. (#10348)"

This reverts commit 6de4e717e7.

There's no need to provision .NET 6, it's done automatically.
2021-01-14 14:07:28 +01:00
Manuel de la Pena 6de4e717e7
[CI][VSTS] Add the donet 6 pkg as a dependency. (#10348)
Ensure that the new dotnet 6 is installed so that we do build with the
support for it.

fixes: https://github.com/xamarin/maccore/issues/2354
2021-01-06 18:21:46 -05:00
Manuel de la Pena 1e78a9de6a
[VSTS] Move away from Jenkins to VSTS pipelines for xamarin-macios. (#10302)
Initial implementation of the projects CI in yaml to be uses with VSTS. The port is not complete as there are some small issues to address, the following are the known issues:

* https://github.com/xamarin/maccore/issues/2349 
* https://github.com/xamarin/maccore/issues/2350
* https://github.com/xamarin/xamarin-macios/issues/10299
* https://github.com/xamarin/xamarin-macios/issues/10298
* https://github.com/xamarin/xamarin-macios/issues/10300
* https://github.com/xamarin/maccore/issues/2351

Nevertheless the CI already compiles the project, creates the pkgs and nugets and publishes them so that we can create insertions.


Co-authored-by: Mike Bond <mjbond-msft@outlook.com>
Co-authored-by: cadsit <connor.adsit@gmail.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2021-01-06 10:48:54 -05:00
Alex Soto 5dc1b55dc6
[master] Merge Xcode11.5 Support and include provisionator changes (#8643)
New commits in xamarin/maccore:

* xamarin/maccore@4bfce64847 Update README.md
* xamarin/maccore@24682998f7 [devops] Enhance Xcode renaming script (#2206)
* xamarin/maccore@e03f16b862 [Localization][Mlaunch] Fix watchos timeout issue (#2196)

Diff: ad1696d6f3..4bfce64847
2020-05-21 12:16:33 -04:00
Manuel de la Pena 1e78ea4d07
[Devops] Do link xcode to the expected path. (#8586) 2020-05-13 09:18:29 -04:00
Manuel de la Pena 9f380e257e
[Devops] Move to use provisionator to get xcode. (#8570)
Move to use the provisionator and add a make file to generat the script
so that we only have to bump xcode in a single place.

Move all deps to provisionator and make provisionator download and
install the xi pkg that has been built to be tested in the pipeline, we
do not longer use curl to do it.
2020-05-12 10:59:53 -04:00