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

92 Коммитов

Автор SHA1 Сообщение Дата
Arlo Godfrey 75af040238 Restore Labs-specific version date formatting 2024-08-01 18:52:20 -05:00
Arlo Godfrey aa08330ad2 Use MultiTargets for build matrix, package in separate job.
See also https://github.com/CommunityToolkit/Tooling-Windows-Submodule/pull/200
2024-08-01 18:52:20 -05:00
Arlo Godfrey 139d699442 Fixed duplicate artifact names across matrices in CI 2024-04-30 16:42:36 -05:00
Arlo Godfrey 469882aa74 Use specific commit hash for darenm/setup-vstest 2024-04-02 15:16:12 -05:00
Arlo Godfrey b03529fc35 Use master branch for action darenm/Setup-VSTest 2024-04-02 11:33:05 -05:00
Arlo Godfrey c3b3b927d7 Updated actions to latest version for node 20 2024-03-29 16:24:55 -05:00
Arlo Godfrey 4c2d8bbf11 Escape inline pwsh variable 2024-03-04 16:06:05 -06:00
Arlo Godfrey f3bd6152d3 Ensure VERSION_PROPERTY is in .nupkg name when provided 2024-03-04 16:06:05 -06:00
Arlo Godfrey d41270ef01 Unpin uno-check manifest 2024-02-27 18:59:56 -06:00
Arlo Godfrey 0a731cf746 Use msbuild 17.9 or higher 2024-02-27 18:59:56 -06:00
Arlo Godfrey 3d4abadd49 Bump to dotnet 8.0.201 2024-02-27 18:59:56 -06:00
Arlo Godfrey 2162d0248b Update uno-check manifest for 1.18 2024-01-23 14:21:19 -06:00
Arlo Godfrey 4cc0557ac6 Bump dotnet version 2023-10-30 12:45:51 -07:00
Michael Hawker MSFT (XAML Llama) e1cb508f24
Fix line continuation in build.yml
Issue introduced in #503 as attempted fix/follow-on to #485
2023-10-27 12:10:41 -07:00
Arlo Godfrey 936adb0682 Additional cleanup 2023-10-26 11:33:46 -05:00
Arlo Godfrey d434dea1c9 Fixed missing nuget source config 2023-10-26 11:17:55 -05:00
Arlo Godfrey cee0351728 Fixed date versioning for PRs 2023-10-23 12:36:21 -05:00
Arlo Godfrey 77f997d8bd Restore pushing to LabsFeed 2023-10-11 20:12:38 -05:00
Arlo Godfrey 4c6637f977 Cleanup release steps 2023-10-11 20:07:15 -05:00
Arlo Godfrey 979aebff22 Porting build.yml changes made in main repo
See 58cdd5026a...125f13c856
2023-10-03 12:09:42 -05:00
Arlo Godfrey 28e80c91a8 Fixes issues with the build script in detecting dump files to upload and analyze 2023-10-03 10:41:43 -05:00
Arlo Godfrey cced9d7537 Use dotnet 7.0.100 in CI 2023-08-18 14:54:33 -05:00
Arlo Godfrey 9e33753794 Skip vswinworkloads in uno-check 2023-08-01 12:29:17 -05:00
Arlo Godfrey e141e19ca4 Fixed Wasm/Linux build errors in CI 2023-07-17 09:58:34 -05:00
Arlo Godfrey 1f96c93f88 Add missing nuget sources 2023-05-18 17:22:47 -05:00
Arlo Godfrey 8435db8e9a Disable diagnostics 2023-05-18 17:22:47 -05:00
Arlo Godfrey 3fd399300f Fixed YAML syntax error 2023-05-18 17:22:47 -05:00
Arlo Godfrey bd6fe9b64e Restrict CI pagefile to 32GB 2023-05-18 17:22:47 -05:00
Arlo Godfrey 3d34407bb4 Path tweaks 2023-05-18 17:22:47 -05:00
Arlo Godfrey dd97412247 Use absolute path for crash dumps 2023-05-18 17:22:47 -05:00
Arlo Godfrey 9d63c7416a Enabled CI diagnostics 2023-05-18 17:22:47 -05:00
Arlo Godfrey 48c4b5ad37 Disabled .NET Native toolchain in CI 2023-03-22 12:09:22 -05:00
Arlo Godfrey 7a0b660a83 Disabled running SampleGen tests in CI 2023-03-22 12:09:22 -05:00
Arlo Godfrey ba850e269a Removed new-experiment job, handled by tooling repo 2023-03-22 12:09:22 -05:00
Arlo Godfrey 87f82947aa Always recurse submodules in CI 2023-03-22 12:09:22 -05:00
michael-hawker e127f3195e Update all `common` folder references to `tooling`
Add a ToolingDirectory property for simplifying naming in future
Abstract a few directories in build.yml to make simpler to change later too
2023-03-14 02:01:17 -07:00
michael-hawker c89eaa6e4e Move project template from /template/ProjectTemplate to /common/ProjectTemplate 2023-03-13 17:31:23 -05:00
Arlo f502140209
Renamed the "All component" solution (#401)
* Renamed the "All component" solution

* Rename LABS_ALL_SAMPLES to ALL_SAMPLES
2023-03-10 18:52:20 -06:00
Arlo Godfrey 41994a66d3 Renamed ./labs to ./components 2023-02-21 16:09:41 -08:00
Arlo 10640a3755
Consolidated ProjectHeads and supporting infrastructure (#360)
* Moved project heads to common folder

* Fixed broken reference to props file

* Fix broken path references

* Fixed broken file references

* Fixed broken path

* Move asset references to props file

* Consolidated ProjectHeads and supporting infrastructure

* Migrating projects to new infra

* Migrating files to new infra

* Added missing assemblyname and rootnamespace declaration

* Fixed building WinAppSdk

* Fixed build errors for UWP under "All" solution

* Fixed working directory for UseTargetFrameworks.ps1

* Switch GenerateSingleSampleHeads.ps1 to use dotnet templating tool

Update WindowsAppSDK version and MSTest tools
Add properties to allow tests to run on 1.2.x, see https://github.com/microsoft/testfx/issues/1127
Remove solution files from experiments
Add bat file to copy heads and run slngen
Tested locally running all heads and tests for an experiment

* Update folder for linux CI build and Codespaces to WASM project

* Clean-up and re-work build script for testing the project template

* Use expanded form for environment variables everywhere

* Use repo root path for script when in working directory of template

* Use github syntax for environment variable for path, see https://github.com/actions/runner-images/issues/1794

* Re-work path structure for project template test in ci

* Setup paths again to use full path into GenerateSingleSampleHeads script

* Fixed comment referencing outdated file name

* Use absolute path for project references in the "All" solution

* Removed leading directory separator on generated path

* Update slngen to fix build issues with not finding SDK due to global.json

See details in https://github.com/microsoft/slngen/issues/453

* Add flag to build to enable easily getting diagnostics from tools

* Clean-up labels and conditions for diagnostics

* Add COREHOST_TRACE diagnostics for dotnet

* Move conditional for COREHOST_TRACE into step

* Just have COREHOST_TRACE defined at top

* Add calling dotnet --info

* Fixed missing markdown/cs files. Changed "Experiment" to "ToolkitComponent"

* Revert initial work renaming Experiment to Component.

* Fixed markdown exclude path

* Moved project out of double nested folder

* Removed restored files that should have been deleted

* Move SourceGenerators.Tests project up a folder and fix in build.yml path

Wasn't being built as was excluded from wildcard in solution generator

* Fixed path for test output

* Improved and shortened project names

* Rename LabsUITestMethod to UIThreadTestMethod

* Renamed to CommunityToolkit.Tooling.TestGen

* New names for UITestMethodAttribute and UITestMethodGenerator

* Fixed incorrect namespace

* Fixed a bad find/replace

* Renamed "all" component heads and App/Test shared projects

* Added "App" to app head names

* Fixed runtime error

* Move SourceGenerators.Tests project up a folder and fix in build.yml path

Wasn't being built as was excluded from wildcard in solution generator

* Fixed path for test output

* Improved and shortened project names

* Rename LabsUITestMethod to UIThreadTestMethod

* Renamed to CommunityToolkit.Tooling.TestGen

* New names for UITestMethodAttribute and UITestMethodGenerator

* Renamed "all" component heads and App/Test shared projects

* Added "App" to app head names

* Turn off diagnostics for our powershell scripts as slngen has error with diagnostics

Fix diagnostic flag detection

* Enable git long path support for the clean operation

* Update microsoft/setup-msbuild github action

* Cleaned up moved files that weren't deleted properly

* Update slngen to 9.5.4

Should hopefully resolve CI issues from https://github.com/microsoft/slngen/issues/453 and its initial fix

---------

Co-authored-by: michael-hawker <24302614+michael-hawker@users.noreply.github.com>
2023-02-21 13:44:43 -08:00
michael-hawker 1c581de16a Turn off diagnostics for Solution Generation, leave hint at uploading logs in the build script. 2023-02-03 11:42:53 -08:00
michael-hawker a47d17022d Add extra verboisty parameter to slngen script and add to run in CI as artifacts 2023-02-02 11:23:50 -08:00
michael-hawker 2cea6b8bf9 Add support for solution generation to filter out UWP/WinAppSDK for alternate build pipelines 2023-01-18 15:03:50 -08:00
michael-hawker 8d996a2e29 Restore tools required for slngen for linux build 2023-01-17 17:46:20 -08:00
michael-hawker b1ced9550f Move Solution PowerShell script to common folder 2023-01-17 14:53:13 -08:00
michael-hawker 53dce7e081 Setup way to control which test projects are added to the generated solution
Removes calling UseUnoWinUI script from GenerateAllSolution as we call that separately on the CI anyway
Tested generated solution still loads in VS 2022 without issue
Simplified step for running tests
2023-01-17 12:34:06 -08:00
michael-hawker 22348f707d Potential Fix for #262 - Remove UWP target from WinUI packages
Adds a 'all-uwp' target to UseTargetFrameworks.ps1
Adds better documentation to UseTargetFrameworks.ps1
Conditionally selects the set of platforms to build for in the CI based on if running the UWP or WinUI package job
2023-01-17 12:34:06 -08:00
Arlo Godfrey 01c4cb78e1 Remove TargetFramework override when building linux in CI 2022-12-26 20:32:34 -06:00
Arlo Godfrey 165daf1223 Updated actions/* to v3, use dotnet version 6.0.x everywhere 2022-12-26 18:10:43 -06:00
michael-hawker 5976599e79 Simplify workflow by combining WinUI 2/3 build defintions with a matrix
Only upload test results if either test step was completed (i.e. if build fails and tests don't run, don't try and upload test results that don't exist)
2022-12-09 15:23:50 -08:00