Skip to content

Commit

Permalink
Configure CI (no. 138)
Browse files Browse the repository at this point in the history
  • Loading branch information
cafour committed Jun 10, 2021
1 parent caed224 commit b5e3296
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ci/linux/run.sh
Expand Up @@ -26,7 +26,10 @@ echo "sln build"
echo "--------------------------------"
cd $ROOT \
&& dotnet restore $ROOT/ci/linux/Linux.sln --packages $ROOT/.nuget\
&& dotnet build $ROOT/ci/linux/Linux.sln --no-restore --configuration $CONFIGURATION
&& dotnet build $ROOT/ci/linux/Linux.sln \
--no-restore \
--configuration $CONFIGURATION
-p:SourceLinkCreate=true
if [ $? -ne 0 ]; then
echo >&2 "dotnet build failed"
exit 1
Expand Down
3 changes: 2 additions & 1 deletion ci/windows/run.ps1
Expand Up @@ -57,7 +57,8 @@ if ($noSlnBuild -ne $true) {
msbuild $sln -v:m `
-p:PublishProfile=$root\ci\windows\GenericPublish.pubxml `
-p:DeployOnBuild=true `
-p:Configuration=$configuration
-p:Configuration=$configuration `
-p:SourceLinkCreate=true
if ($LASTEXITCODE -ne 0) {
Write-Host "dotnet build failed"
exit 1
Expand Down

0 comments on commit b5e3296

Please sign in to comment.