File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build SFX bundle
2+
3+ on : [push, pull_request]
4+
5+ env :
6+ # Path to the solution file relative to the root of the project.
7+ SOLUTION_FILE_PATH : CPP/7zip/Bundles/SFXSetup/SFXSetup.sln
8+
9+ jobs :
10+ build :
11+ runs-on : windows-latest
12+
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ config :
17+ # Note: `ReleaseD` builds 7zSD.sfx (which used to be linked to
18+ # `msvcrt.dll` with older Visual C versions, but with recent ones
19+ # links to `vcruntime140.dll`), as opposed to 7zS.sfx, which is
20+ # linked statically.
21+ - name : ReleaseD
22+ artifact : 7zSD
23+ - name : Release
24+ artifact : 7zS
25+
26+ steps :
27+ - uses : actions/checkout@v4
28+
29+ - name : Add MSBuild to PATH
30+ uses : microsoft/setup-msbuild@v2.0.0
31+
32+ - name : Build
33+ working-directory : ${{ github.workspace }}
34+ run : msbuild /m /p:Configuration=${{ matrix.config.name }} ${{ env.SOLUTION_FILE_PATH }}
35+
36+ - name : Upload SFX bundle
37+ uses : actions/upload-artifact@v4
38+ with :
39+ name : ${{ matrix.config.artifact }}
40+ path : CPP/7zip/Bundles/SFXSetup/${{ matrix.config.name }}/${{ matrix.config.artifact }}.sfx
You can’t perform that action at this time.
0 commit comments