forked from rileytestut/AltServer-Windows
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds msi and devenv to build the msi installer as vscode doesn’t support building directly from a visual studio code project from a vdproject using msbuild. So using devenv is needed to build it. For reference. actions/runner-images#5301 Signed-off-by: Spidy123222 <[email protected]>
- Loading branch information
1 parent
c6b2dde
commit 38799f3
Showing
1 changed file
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,9 @@ jobs: | |
|
||
- name: Add MSBuild | ||
uses: microsoft/[email protected] | ||
|
||
- name: Setup VS Dev Environment | ||
uses: seanmiddleditch/gha-setup-vsdevenv@v4 | ||
|
||
- name: Run get-source in Libimobiledevice-vs | ||
run: cd Dependencies/libimobiledevice-vs; ./get-source.cmd | ||
|
@@ -49,10 +52,17 @@ jobs: | |
# run: cd "c:\vcpkg"; ./bootstrap-vcpkg.bat; vcpkg install --feature-flags=manifests,binarycaching,default-features,websockets --recurse openssl boost-regex:x64-windows dirent mdnsresponder winsparkle libiconv:x64-windows zlib:x64-windows; vcpkg integrate install | ||
run: cd "c:\vcpkg"; ./bootstrap-vcpkg.bat; vcpkg integrate install | ||
|
||
- name: Build | ||
- name: Build Project | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: | | ||
msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=${{env.BUILD_PLATFORM}} /p:SolutionDir="${{github.workspace}}\\" ${{env.PROJECT_FILE_PATH}}; tree /f /a | ||
msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=${{env.BUILD_PLATFORM}} /p:SolutionDir="${{github.workspace}}\\" ${{env.PROJECT_FILE_PATH}} | ||
- name: Disable Out of Process Building | ||
run: .\DisableOutOfProcBuild.exe | ||
working-directory: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\VSI\DisableOutOfProcBuild | ||
|
||
- name: Build .MSI | ||
run: DevEnv AltInstaller/AltInstaller.vdproj /build Release; tree /f /a | ||
|
||
- name: Upload ZIP Artifact | ||
uses: actions/[email protected] | ||
|