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

1252 Коммитов

Автор SHA1 Сообщение Дата
Arlo Godfrey 1ceab73a38 Fixed issue where switching to WinUI 3 multiples times and back to WinUI 2 would cause compilation constant not being cleaned up 2022-04-13 14:04:59 -05:00
Arlo Godfrey 7ff516cb59 Fixed individual sample head not building under WinUI 2 / 3 2022-04-13 13:53:16 -05:00
Arlo Godfrey 1f405afdc8 Fixed WPF building under WinUI 2 and 3 2022-04-13 13:39:27 -05:00
Arlo Godfrey 4ed156f862 Add missing changes to default Uno props file needed for compilation. Fixed compiling GTK under WinUI 2 / 3 2022-04-13 13:33:15 -05:00
Arlo Godfrey d90fcf66f7 Fixed building MacOS under WinUI 2 / 3 2022-04-13 13:24:42 -05:00
Arlo Godfrey b89e24d70d Fixed building iOS under WinUI 2 and 3 2022-04-13 13:18:19 -05:00
Arlo Godfrey a990aff569 Fixed building Android under both WinUI 2 and 3 2022-04-13 13:14:11 -05:00
Matt Lacey 05f3c43754 Move duplicate WinAppSdk proj file contents into single props file 2022-04-12 23:19:00 +01:00
Matt Lacey e4bc30cc43 Merge branch 'main' into TestPropsFiles 2022-04-12 23:02:15 +01:00
Matt Lacey 995b8622b7 Move duplication from UWP test projects into props files 2022-04-12 22:34:40 +01:00
Arlo Godfrey f16088f337 Added WinUI 2 / 3 switch for Uno libs and heads 2022-04-12 14:58:08 -05:00
Arlo d6cd9f8377
Merge pull request #71 from CommunityToolkit/feature/build-heads-with-selective-targetframework
Enable building with selective TargetFramework
2022-04-12 12:36:21 -05:00
Arlo Godfrey 26c1623d7b Remove All props reference in project heads 2022-04-12 11:39:47 -05:00
Arlo Godfrey 98a66c3b92 Use switch for enabling git changes. Add help messages to parameters. 2022-04-11 17:56:04 -05:00
Arlo Godfrey 4032dd9fa5 Use PowerShell parameter validation 2022-04-11 16:30:19 -05:00
Arlo Godfrey a0722c4b7e Fixed script not working under Linux 2022-04-11 16:16:35 -05:00
Arlo Godfrey 9855bf77ad Merge branch 'main' into feature/build-heads-with-selective-targetframework 2022-04-11 15:54:45 -05:00
Arlo fc1861d056 Enable all target frameworks in build validation 2022-04-11 19:05:16 +00:00
Matt Lacey d4bfc96121
Run tests as part of CI (#67)
* Run tests as part of CI

* update action org

* try main version

* Run tests by calling vstest.console.exe directly

* improve step names

* add failing test to check CI fails

* Revert "add failing test to check CI fails"

This reverts commit effde14668.

* try generating test report

* Update build.yml

* Update build.yml

* remove documented arg that isn't actually supported

* specify path when creating test reports

* re-add failing test to see output from GA chceck

* remove deliberately failing test
2022-04-11 11:51:20 -07:00
Matt Lacey 1ad308b5c6 Centralize test related NuGet packages 2022-04-11 14:39:58 +01:00
Hazel Megan 00c25fed9c Merge branch 'main' into TestPropsFiles 2022-04-09 23:24:45 +01:00
Arlo Godfrey 5da6f8ddec Merge branch 'main' into feature/build-heads-with-selective-targetframework 2022-04-08 19:40:23 -05:00
Arlo Godfrey 887841be04 Cleanup stray file 2022-04-08 19:36:29 -05:00
Arlo Godfrey fbafb7d16d Fixed gtk not working properly 2022-04-08 15:53:59 -05:00
Arlo Godfrey 37a1bbc4ec Disable committing updates to TargetFrameworks file by default 2022-04-08 15:51:01 -05:00
Arlo Godfrey ca8b6a9d31 Moved to updating TFMs outside MSBuild exclusively 2022-04-08 15:40:16 -05:00
Hazel Megan 18fe7e7d92 make sure all path references use lower case 2022-04-08 11:00:08 -07:00
Hazel Megan b194c714b2 root directory names to all lower case 2022-04-08 11:00:08 -07:00
Hazel Megan 4518f86666 revert "tests" casing in root 2022-04-08 11:00:08 -07:00
Hazel Megan 86f1a682ed Use lowercase for appropriate directory names
see https://github.com/CommunityToolkit/Labs-Windows/issues/63#issuecomment-1091956277
2022-04-08 11:00:08 -07:00
Arlo Godfrey 7a98d3c8a4 Merge branch 'main' into feature/build-heads-with-selective-targetframework 2022-04-07 14:18:38 -05:00
Arlo Godfrey 60c3010f04 Removed uneeded solutions 2022-04-07 14:15:42 -05:00
Arlo Godfrey c597775169 Fixed issue where SolutionName variable could go missing. Added comments 2022-04-07 14:15:04 -05:00
Hazel Megan 55f28673d6 fix logic in app initialization 2022-04-07 19:42:20 +01:00
Arlo Godfrey a52c3ec076 Remove custom obj and bin path causing interference with conditional target framework functionality in Visual Studio 2022-04-07 00:21:32 -05:00
michael-hawker 4700663607 Add a separate job to test running the experiment build in the CI 2022-04-06 10:10:12 -07:00
Arlo Godfrey 4a972dfe47 Use custom property instead of solution name for TFM variant selection 2022-04-05 20:00:44 -05:00
Arlo Godfrey fa185d4eb3 Implemented locking mechanism for TFM generation script 2022-04-05 18:11:45 -05:00
Arlo Godfrey 1c5efaab8a Cleanup, WIP fixing first up to date check when opening VS. 2022-04-05 16:42:53 -05:00
Arlo Godfrey bb69ead830 Fixed issue where concurrent execution could result in invalid file 2022-04-05 16:42:04 -05:00
Hazel Megan c93499424c Avoid unnecessary rebuilds of the macOS head 2022-04-05 14:25:18 -07:00
Arlo 7be6449379
Cleanup, fixed single sample solution not building (#62) 2022-04-05 14:24:39 -07:00
Arlo Godfrey 6f9c97e892 Use minimal Windows dependencies for non All/Wasm slns 2022-04-05 13:59:12 -05:00
Arlo Godfrey f7310f7812 Fixed error when removing TFM props file that doesn't yet exist 2022-04-05 13:50:28 -05:00
Matt Lacey e471c4539b
Add unit tests (#61)
* Add unit tests

For #48

* Update Tests/CommunityToolkit.Labs.UnitTests.Uwp/CommunityToolkit.Labs.UnitTests.Uwp.csproj

Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>

* Standardize casing of directory names

* shorten "Labs.WinUI.CanvasLayout.Tests"

to "CanvasLayout.Tests"

* Shorten experiment test project name

* removed duplicated default Windows app assets

* Remove non-essential assets from test projects

* Share Asset files in the test host projects

* test projects to use common/shared asset files

* standardize XAML formatting

* Do not set passive flag if not running xstyler passively

* remove experiment specific sample heads from "All" solution

and remove folder as will only eve have a single item in it.

* remove unneeded experiment head project from WASM solution

* update test related package dependencies

Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2022-04-05 11:11:00 -07:00
Michael Hawker MSFT (XAML Llama) 82120e94ce
Fix ApplyXamlStyling.ps1 not changing files locally
Accidently included `-p` from splitting local vs. CI logic.
2022-04-04 14:45:09 -07:00
Arlo Godfrey 2df29a54d6 Merge 2022-04-04 16:26:01 -05:00
Arlo Godfrey 02751dfb2c Switch to powershell for updating target frameworks 2022-04-04 15:32:15 -05:00
Michael Hawker MSFT (XAML Llama) 92aa2e2630
Add Feature/style enforcement to CI (#60)
* Try some initial config to enforce warnings and styles on build

Additionally run XAML Styler on pre-commit hook

* Apply XAML Styler Settings

* Add XAML Styler Check to CI Pipeline

* Apply fixes to some errors

* Run git status to understand what's being output

* Add logic for getting detached head state branch name

* Reconfigure how XAML Styler is run from the CI

Install .NET 3.1 for now to address issue with running XAML Styler

* Add error message with instruction for CI for instructing to run XAML Styler locally
2022-04-04 11:44:42 -07:00
Arlo Godfrey 293e7fc6bb Recreated wasm-only solution 2022-04-01 16:42:43 -05:00