Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ jobs:
chmod +x dotnet-install.sh
./dotnet-install.sh --channel 10.0 --install-dir "$HOME/.dotnet"
export PATH="$HOME/.dotnet:$PATH"
dotnet restore FileCabinet.slnx /p:EnableWindowsTargeting=true
# Restore individual projects (custom .slnx is not a valid dotnet solution file)
dotnet restore FileCabinet.vbproj /p:EnableWindowsTargeting=true
dotnet restore FileCabinet.Cli/FileCabinet.Cli.vbproj /p:EnableWindowsTargeting=true
dotnet restore FileCabinet.Tests/FileCabinet.Tests.vbproj /p:EnableWindowsTargeting=true
dotnet build FileCabinet.slnx --configuration Release --no-restore /p:EnableWindowsTargeting=true
# Build application projects explicitly
dotnet build FileCabinet.vbproj --configuration Release --no-restore /p:EnableWindowsTargeting=true
dotnet build FileCabinet.Cli/FileCabinet.Cli.vbproj --configuration Release --no-restore /p:EnableWindowsTargeting=true
dotnet test FileCabinet.Tests/FileCabinet.Tests.vbproj --configuration Release --no-restore --logger "trx;LogFileName=test-results.trx" --results-directory TestResults /p:EnableWindowsTargeting=true
- store_test_results:
path: TestResults
Expand Down
Loading