From 0d64c5eec240c94cc871f68cee98914c04d7a9f4 Mon Sep 17 00:00:00 2001 From: Kimura Youichi Date: Tue, 28 Nov 2023 00:46:02 +0900 Subject: [PATCH] =?UTF-8?q?CI=E3=81=A7=E3=81=AE=E3=83=93=E3=83=AB=E3=83=89?= =?UTF-8?q?=E6=99=82=E3=81=AB=20*.pdb=20=E3=81=AE=E7=94=9F=E6=88=90?= =?UTF-8?q?=E3=82=92=E7=84=A1=E5=8A=B9=E5=8C=96=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 4 +--- appveyor.yml | 5 ----- msbuild.rsp | 2 +- tools/build-zip-archive.ps1 | 2 +- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 58fb98cac..8ace1bd33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: - name: Build shell: pwsh run: | - msbuild /target:restore,build "/p:Configuration=$($env:CONFIGURATION)" /verbosity:minimal + msbuild /target:restore,build "/p:Configuration=$($env:CONFIGURATION)" /p:DebugType=None /verbosity:minimal - name: Upload build result uses: actions/upload-artifact@v3 @@ -171,7 +171,6 @@ jobs: $destPath = 'OpenTween.zip' $headCommit = '${{ github.event.pull_request.head.sha }}' .\tools\build-zip-archive.ps1 -BinDir $binDir -DestPath $destPath -HeadCommit $headCommit - Copy-Item ($binDir + 'OpenTween.pdb') -Destination '.\' - name: Upload build result uses: actions/upload-artifact@v3 @@ -179,4 +178,3 @@ jobs: name: package path: | ./OpenTween.zip - ./OpenTween.pdb diff --git a/appveyor.yml b/appveyor.yml index 167eb0c39..5986621db 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -36,8 +36,6 @@ for: artifacts: - name: OpenTween.zip path: OpenTween_dev-$(APPVEYOR_BUILD_NUMBER).zip - - name: OpenTween.pdb - path: OpenTween.pdb - # for release build matrix: only: @@ -46,8 +44,6 @@ for: artifacts: - name: OpenTween.zip path: $(APPVEYOR_REPO_TAG_NAME).zip - - name: OpenTween.pdb - path: OpenTween.pdb build: project: OpenTween.sln @@ -91,6 +87,5 @@ after_test: $headCommit = 'HEAD' } .\tools\build-zip-archive.ps1 -BinDir $binDir -DestPath $destPath -HeadCommit $headCommit - Copy-Item ($binDir + 'OpenTween.pdb') -Destination '.\' # vim: et fenc=utf-8 sts=2 sw=2 ts=2 diff --git a/msbuild.rsp b/msbuild.rsp index c4dbaecb1..7f712b3d1 100644 --- a/msbuild.rsp +++ b/msbuild.rsp @@ -1,3 +1,3 @@ # MSBuild response file for AppVeyor build -/warnaserror +/warnaserror /p:DebugType=None diff --git a/tools/build-zip-archive.ps1 b/tools/build-zip-archive.ps1 index 3fd8f5989..60e37dd18 100644 --- a/tools/build-zip-archive.ps1 +++ b/tools/build-zip-archive.ps1 @@ -102,5 +102,5 @@ Write-Host "Build success!" Value = $timestamp } Get-FileHash -Algorithm SHA256 $destPath - Get-FileHash -Algorithm SHA256 $pdbPath + # Get-FileHash -Algorithm SHA256 $pdbPath ) | Format-List