1 name: Build with VS Studio
16 runs-on: windows-latest
20 configuration: ['Debug', 'Release']
21 platform: ['x86', 'x64']
25 uses: actions/checkout@v3
30 - name: Set up Visual Studio
31 uses: microsoft/setup-msbuild@v1.1
33 - name: Build static solution
34 run: msbuild /p:Configuration=${{ matrix.configuration }} /p:PlatformToolset=v143 /p:Platform=${{ matrix.platform }} msvc/uuu-static-link.sln
36 - name: Upload Build Artifacts
37 if: matrix.configuration == 'Release' && matrix.platform == 'x64'
38 uses: actions/upload-artifact@v3
41 path: msvc/x64/Release/uuu.exe
43 - name: Create or Update Release
44 if: matrix.configuration == 'Release' && matrix.platform == 'x64'
45 uses: ncipollo/release-action@v1
47 name: Release ${{ github.ref_name }}
48 tag: ${{ github.ref_name }}
49 commit: ${{ github.sha }}
53 artifacts: msvc/x64/Release/uuu.exe
55 - name: Build dynamic solution
56 run: msbuild /p:Configuration=${{ matrix.configuration }} /p:PlatformToolset=v143 /p:Platform=${{ matrix.platform }} msvc/uuu.sln