diff --git a/.github/workflows/build-frontends.yml b/.github/workflows/build-frontends.yml index 160b521d8..d5e9d6288 100644 --- a/.github/workflows/build-frontends.yml +++ b/.github/workflows/build-frontends.yml @@ -38,10 +38,10 @@ jobs: run: dotnet restore ILSpy.XPlat.slnf -p:RestoreEnablePackagePruning=false - name: Build Debug - run: dotnet msbuild ILSpy.XPlat.slnf -p:Configuration=Debug -bl:Debug.binlog + run: dotnet msbuild -mt ILSpy.XPlat.slnf -p:Configuration=Debug -bl:Debug.binlog - name: Build Release - run: dotnet msbuild ILSpy.XPlat.slnf -p:Configuration=Release -bl:Release.binlog + run: dotnet msbuild -mt ILSpy.XPlat.slnf -p:Configuration=Release -bl:Release.binlog - name: list files if: always() diff --git a/.github/workflows/build-ilspy.yml b/.github/workflows/build-ilspy.yml index 3249f3b65..14b81826d 100644 --- a/.github/workflows/build-ilspy.yml +++ b/.github/workflows/build-ilspy.yml @@ -90,9 +90,9 @@ jobs: - name: Build run: > - dotnet build ILSpy.sln --no-restore + dotnet build -mt ILSpy.sln --no-restore -c ${{ matrix.configuration }} - /p:Platform="$env:BuildPlatform" /m + /p:Platform="$env:BuildPlatform" - name: Format check run: dotnet-format whitespace --verify-no-changes --verbosity detailed ILSpy.sln diff --git a/build.ps1 b/build.ps1 index 5c245d406..efb990de2 100644 --- a/build.ps1 +++ b/build.ps1 @@ -7,4 +7,4 @@ param( ) $ErrorActionPreference = 'Stop' $env:OPENSSL_ENABLE_SHA1_SIGNATURES = '1' -dotnet build ILSpy.sln -c $Configuration "-p:Platform=Any CPU" @args +dotnet build -mt ILSpy.sln -c $Configuration "-p:Platform=Any CPU" @args