Commit Graph

14 Commits

Author SHA1 Message Date
Nick Craver 663588f90b AppVeyor: Build tweaks & misc fixes (#1450)
Simplifying and improve build speed.

- Decreases builds from 8-13 minutes down to ~2 minutes (while running more tests)
- Moves to SQL Server 2019 on AppVeyor
- Moves the 2 longest running tests with params to `[FactLongRunning]`
- Bumps tests up to `netcoreapp3.1`
- Also fixes .Contrib tests
- Moves to `Build.csproj`
- Simplifies `build.ps1`
- Removed defunct `build.sh`
- Nukes `IsAppveyor` (moves to environmental variable overloads)
- Builds now work in Linux/macOS
2020-05-02 07:52:40 -04:00
Nick Craver 522d150e25 Faster builds + use MySqlConnector
MySql.Data is a travesty at this point - moving to something more stable. Really we weren't testing Dapper with previous test failures, we were testing what mood MySql.Data and NuGet extraction are in and which phase of the moon is about.

Also speeds up the builds with 1 restore and 1 build. We can simplify here because everything is relevant (no wasted builds).
2018-09-03 21:38:27 -04:00
Nick Craver e16c69950c Dapper build fixes, versioning, and SQL CE drop
- Moves to NerdBank git-based versioning
- Cleans up build.ps1 to current (will tweak for older moves later)
- Updates xUnit to latest
- Moves to dotnet test, since they killed dotnet xunit
- Testing SQL Server CE has become unreasonable. It's gone (minimal cleanup in this commit disabling it).
2018-09-03 20:35:06 -04:00
Alex Wiese 4e62055c57 Update build.ps1
The -Contains operator doesn't do substring comparisons.

> -Contains
>Description: Containment operator. Tells whether a collection of reference values includes a single test value.

Should be using -Match operator instead.
2018-06-18 14:20:20 -04:00
Nick Craver 710e86fe9f 1.50.4 release 2017-11-25 21:13:58 -05:00
Nick Craver d45b79ff9d Fix build script
Removes NuGet workaround for pre-2.0 and lines up with other script
enhancements since.
2017-09-14 10:42:08 -04:00
Nick Craver 75d342fa64 VS 2017 Build - Making things work (#766)
* Progress on VS 2017 build tooling
* Finally, a working VS 2017 tooling build
2017-05-06 15:42:46 -04:00
Nick Craver ae7a29a9f1 VS 2017 .csproj Migration
Due to the way VS test works (by injecting an executable entry point), the performance tests needed to be factored out. I also organized all of our existing tests better along the way.
Actual code changes to Dapper itself are very minor, only formatting and documentation fixes (which we need many more of).

The build.ps1 script is upated to work, but note that <frameworkAssemblies> is not working in .nuspec inside the packages in the new .csproj system. I consider this to be a blocker. Issue is here: https://github.com/NuGet/Home/issues/4853
2017-03-25 19:34:10 -04:00
Nick Craver 3d4d251a78 Switch version suffix to be a build parameter
Note: build.sh needs love from OS X/*nix later to match
2016-05-24 08:38:24 -04:00
Nick Craver 06cd0051e7 Update build scripts to pack for us 2016-05-19 11:38:27 -04:00
Nick Craver 84a7d6464a RC2 master merge 2016-05-19 08:53:36 -04:00
Nick Craver 2b488fa7d1 PowerShell build script love 2016-04-16 23:21:10 -04:00
Nick Craver 151f05cd74 PowerShell build updates: include .Contrib 2016-04-16 23:00:47 -04:00
Nick Craver c4516fd06a PowerShell build scripts 2016-04-16 22:47:10 -04:00