CI: Use Analysis builds for MSVC
This commit is contained in:
parent
270279ad4d
commit
f5e76a60f5
1 changed files with 6 additions and 5 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
|||
configFlags: --enable-faad --enable-mpeg2 --enable-discord --disable-fribidi --disable-opengl
|
||||
vcpkgPackages: 'curl discord-rpc faad2 fluidsynth freetype libflac libjpeg-turbo libmad libmpeg2 libogg libpng libtheora libvorbis sdl2 sdl2-net zlib giflib'
|
||||
env:
|
||||
CONFIGURATION: Release
|
||||
CONFIGURATION: Analysis
|
||||
PLATFORM: ${{ matrix.platform }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -65,19 +65,20 @@ jobs:
|
|||
ls
|
||||
- name: set SCUMMVM_LIBS env variable
|
||||
run: |
|
||||
echo "SCUMMVM_LIBS=${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}\\installed\\${{ matrix.triplet }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||
echo "SCUMMVM_LIBS=${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}\\installed\\${{ matrix.triplet }}\\debug" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||
Copy-Item "${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}\\installed\\${{ matrix.triplet }}\\include" -Destination "${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}\\installed\\${{ matrix.triplet }}\\debug" -Recurse
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
- name: Build scummvm
|
||||
run: |
|
||||
cd build-scummvm
|
||||
ls
|
||||
msbuild scummvm.sln /m /p:BuildInParallel=true /p:Configuration=Release /p:PreferredToolArchitecture=x64 /p:Platform=${{ matrix.platform }}
|
||||
msbuild scummvm.sln /m /p:BuildInParallel=true /p:Configuration=${{ env.CONFIGURATION }} /p:PreferredToolArchitecture=x64 /p:Platform=${{ matrix.platform }}
|
||||
# - name: Upload scummvm
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: scummvm-${{ matrix.arch }}
|
||||
# path: build-scummvm/Release${{ matrix.arch }}/*.exe
|
||||
# path: build-scummvm/${{ env.CONFIGURATION }}${{ matrix.arch }}/*.exe
|
||||
# - name: Upload scummvm libs
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
|
@ -87,7 +88,7 @@ jobs:
|
|||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: symbols-${{ matrix.arch }}
|
||||
# path: build-scummvm/Release${{ matrix.arch }}/*.pdb
|
||||
# path: build-scummvm/${{ env.CONFIGURATION }}${{ matrix.arch }}/*.pdb
|
||||
# - name: Upload scummvm libs symbols
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue