Skip to content

Commit

Permalink
refactored build script for appveyor test devlooped#9
Browse files Browse the repository at this point in the history
  • Loading branch information
david-kalbermatten committed Jun 9, 2023
1 parent 1b00626 commit 1f8eeff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ environment:
FSHARPTYPES_DLL: .\tests\Moq.Tests\bin\Release\net6.0\Moq.Tests.FSharpTypes.dll

build_script:
- dotnet restore Moq.sln --verbosity quiet
- dotnet build Moq.sln --configuration Release --no-restore --logger:"%MSBUILD_LOGGER%"
- dotnet restore Moq.sln --configuration Release --verbosity minimal # --logger:"%MSBUILD_LOGGER%"
- dotnet build Moq.sln --configuration Release --no-restore # --logger:"%MSBUILD_LOGGER%"

before_test:
- call "%SN_EXE%" -R %FSHARPTYPES_DLL% %SNK_FILE%

test_script:
- dotnet test --no-build --configuration Release .\tests\Moq.Tests\Moq.Tests.csproj --logger:"%MSBUILD_LOGGER%"
- dotnet test --no-build --configuration Release .\tests\Moq.Tests\Moq.Tests.csproj # --logger:"%MSBUILD_LOGGER%"

after_test:
- dotnet pack Moq.sln --no-build --no-restore --configuration Release --output out --logger:"%MSBUILD_LOGGER%"
- dotnet pack Moq.sln --no-build --no-restore --configuration Release --output out # --logger:"%MSBUILD_LOGGER%"
# - msbuild Moq.sln /t:Pack /logger:"%MSBUILD_LOGGER%"

deploy:
Expand Down

0 comments on commit 1f8eeff

Please sign in to comment.