Skip to content

Commit

Permalink
Merge pull request #4 from winlibs/cmb/msbuild-v2
Browse files Browse the repository at this point in the history
Update to microsoft/setup-msbuild v2
  • Loading branch information
shivammathur authored Jul 15, 2024
2 parents 690a069 + 2721bdc commit e0fecd4
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cyrus-sasl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Fetch dependencies
run: powershell winlib-builder/scripts/fetch-deps -lib cyrus-sasl -version ${{github.event.inputs.php}} -vs ${{steps.virtuals.outputs.vs}} -arch ${{matrix.arch}} -stability ${{github.event.inputs.stability}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
- name: Build cyrus-sasl-core
run: cd cyrus-sasl\win32 && msbuild /p:Configuration=Release;Platform=${{matrix.arch}};PlatformToolset=${{steps.virtuals.outputs.msts}};WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}} cyrus-sasl-core.sln
- name: Build cyrus-sasl-sasldb
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/enchant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Fetch dependencies
run: powershell winlib-builder/scripts/fetch-deps -lib enchant -version ${{github.event.inputs.php}} -vs ${{steps.virtuals.outputs.vs}} -arch ${{matrix.arch}} -stability ${{github.event.inputs.stability}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
- name: Build enchant
run: cd enchant && msbuild /t:libenchant;libenchant_hunspell /p:Configuration=Release;Platform=${{steps.virtuals.outputs.msarch}};PlatformToolset=${{steps.virtuals.outputs.msts}};WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}} msvc${{steps.virtuals.outputs.vsnum}}\enchant2.sln
- name: Install enchant
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/freetype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
arch: ${{matrix.arch}}
toolset: ${{steps.virtuals.outputs.toolset}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.0.3
uses: microsoft/setup-msbuild@v2
- name: Set FREETYPE_BUILDFOLDER
if: ${{steps.virtuals.outputs.vsnum == '15'}}
run: echo FREETYPE_BUILDFOLDER=vc2017>> %GITHUB_ENV%
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gettext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
id: virtuals
run: powershell winlib-builder/scripts/compute-virtuals -version ${{github.event.inputs.php}} -arch ${{matrix.arch}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.0.3
uses: microsoft/setup-msbuild@v2
- name: Build gettext
run: cd gettext\MSVC${{steps.virtuals.outputs.vsnum}} && msbuild gettext.sln /p:Configuration=Release /p:Platform=${{steps.virtuals.outputs.msarch}} /p:PlatformToolset=${{steps.virtuals.outputs.msts}} /p:WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}}
- name: Install gettext
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/glib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Fetch dependencies
run: powershell winlib-builder/scripts/fetch-deps -lib glib -version ${{github.event.inputs.php}} -vs ${{steps.virtuals.outputs.vs}} -arch ${{matrix.arch}} -stability ${{github.event.inputs.stability}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
- name: Build glib
run: cd glib && msbuild /p:Configuration=Release_BundledPCRE;Platform=${{steps.virtuals.outputs.msarch}};PlatformToolset=${{steps.virtuals.outputs.msts}};WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}};PythonPath=C:\hostedtoolcache\windows\Python\3.7.9\x64 win32\vs${{steps.virtuals.outputs.vsnum}}\glib.sln
- name: Install glib
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/icu4c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
arch: ${{matrix.arch}}
toolset: ${{steps.virtuals.outputs.toolset}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.0.3
uses: microsoft/setup-msbuild@v2
- name: Build icu4c
run: cd icu4c && msbuild /p:Configuration=Release;Platform=${{steps.virtuals.outputs.msarch}};PlatformToolset=${{steps.virtuals.outputs.msts}};WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}} source\allinone\allinone.sln
- name: Install icu4c
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/imagemagick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
repository: ImageMagick/ImageMagick-Windows.git
ref: main
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
- name: Compute virtual inputs
id: virtuals
run: powershell winlib-builder/scripts/compute-virtuals -version ${{github.event.inputs.php}} -arch ${{matrix.arch}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libffi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
id: virtuals
run: powershell winlib-builder/scripts/compute-virtuals -version ${{github.event.inputs.php}} -arch ${{matrix.arch}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.0.3
uses: microsoft/setup-msbuild@v2
- name: Build libffi
run: cd libffi\win32\${{steps.virtuals.outputs.vs}}_${{matrix.arch}} && msbuild libffi-msvc.sln /p:Configuration=Release /p:Platform=${{steps.virtuals.outputs.msarch}} /p:WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}}
- name: Install libffi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libiconv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
arch: ${{matrix.arch}}
toolset: ${{steps.virtuals.outputs.toolset}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.0.3
uses: microsoft/setup-msbuild@v2
- name: Build libiconv
run: cd libiconv\MSVC${{steps.virtuals.outputs.vsnum}} && msbuild libiconv.sln /p:Configuration=Release /p:Platform=${{steps.virtuals.outputs.msarch}} /p:PlatformToolset=${{steps.virtuals.outputs.msts}} /p:WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}}
- name: Install libiconv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libpng.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
id: virtuals
run: powershell winlib-builder/scripts/compute-virtuals -version ${{github.event.inputs.php}} -arch ${{matrix.arch}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.0.3
uses: microsoft/setup-msbuild@v2
- name: Fetch zlib
run: cd libpng\projects\vstudio${{steps.virtuals.outputs.vsyear}} && curl -Lo zlib1212.zip https://zlib.net/zlib1212.zip && 7z x zlib1212.zip
- name: Build dynamic libpng
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libsodium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
id: virtuals
run: powershell winlib-builder/scripts/compute-virtuals -version ${{github.event.inputs.php}} -arch ${{matrix.arch}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
- name: Build libsodium
run: cd libsodium\builds\msvc\vs${{steps.virtuals.outputs.vsyear}} && msbuild /t:Rebuild /p:Configuration=StaticRelease;Platform=${{steps.virtuals.outputs.msarch}};PlatformToolset=${{steps.virtuals.outputs.msts}};WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}} libsodium.sln && msbuild /t:Rebuild /p:Configuration=DynRelease;Platform=${{steps.virtuals.outputs.msarch}};PlatformToolset=${{steps.virtuals.outputs.msts}};WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}} libsodium.sln
- name: Install libsodium
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libssh2_msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Fetch dependencies
run: powershell winlib-builder/scripts/fetch-deps -lib libssh2 -version ${{github.event.inputs.php}} -vs ${{steps.virtuals.outputs.vs}} -arch ${{matrix.arch}} -stability ${{github.event.inputs.stability}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
- name: Build libssh2
run: |
cd libssh2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libxpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
id: virtuals
run: powershell winlib-builder/scripts/compute-virtuals -version ${{github.event.inputs.php}} -arch ${{matrix.arch}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.0.3
uses: microsoft/setup-msbuild@v2
- name: Patch libxpm
run: cd libxpm && git apply --ignore-whitespace ..\winlib-builder\patches\libxpm.patch
- name: Build libxpm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mpir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
id: virtuals
run: powershell winlib-builder/scripts/compute-virtuals -version ${{github.event.inputs.php}} -arch ${{matrix.arch}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
- name: Build mpir
run: cd mpir && msbuild /p:Configuration=Release;Platform=${{steps.virtuals.outputs.msarch}};PlatformToolset=${{steps.virtuals.outputs.msts}};WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}} build.vc${{steps.virtuals.outputs.vsnum}}\lib_mpir_gc\lib_mpir_gc.vcxproj
- name: Install mpir
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openldap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Fetch dependencies
run: powershell winlib-builder/scripts/fetch-deps -lib openldap -version ${{github.event.inputs.php}} -vs ${{steps.virtuals.outputs.vs}} -arch ${{matrix.arch}} -stability ${{github.event.inputs.stability}}
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
- name: Build openldap
run: cd openldap\win32\${{steps.virtuals.outputs.vs}} && msbuild /p:Configuration=Release;Platform=${{steps.virtuals.outputs.msarch}};PlatformToolset=${{steps.virtuals.outputs.msts}};WindowsTargetPlatformVersion=${{steps.virtuals.outputs.winsdk}} liblber.sln
- name: Install openldap
Expand Down

0 comments on commit e0fecd4

Please sign in to comment.