[Constants] add new parameter - programs_list (contains applications … #8
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
name: Build on push to development | |
on: | |
push: | |
branches: | |
- development | |
jobs: | |
build_debug_x86: | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# - name: Setup .NET | |
# uses: actions/setup-dotnet@v3 | |
# with: | |
# dotnet-version: '4.x' | |
- name: setup-msbuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: Restore dependencies | |
run: nuget restore | |
- name: Build Debug x86 | |
run: msbuild /t:Build /p:Configuration=Debug /p:Platform=x86 | |
- name: Publish Debug x86 artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Debug_x86 | |
path: | | |
bin\x86\Debug\Newtonsoft.Json.dll | |
bin\x86\Debug\Newtonsoft.Json.xml | |
bin\x86\Debug\xp-apps.exe | |
build_debug_x64: | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# - name: Setup .NET | |
# uses: actions/setup-dotnet@v3 | |
# with: | |
# dotnet-version: '4.x' | |
- name: setup-msbuild | |
uses: microsoft/setup-msbuild@v2 | |
with: | |
msbuild-architecture: x64 | |
- name: Restore dependencies | |
run: nuget restore | |
- name: Build Debug x64 | |
run: msbuild /t:Build /p:Configuration=Debug /p:Platform=x64 | |
- name: Publish Debug x64 artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Debug_x64 | |
path: | | |
bin\x64\Debug\Newtonsoft.Json.dll | |
bin\x64\Debug\Newtonsoft.Json.xml | |
bin\x64\Debug\xp-apps.exe | |
build_release_x86: | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# - name: Setup .NET | |
# uses: actions/setup-dotnet@v3 | |
# with: | |
# dotnet-version: '4.x' | |
- name: setup-msbuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: Restore dependencies | |
run: nuget restore | |
- name: Build Release x86 | |
run: msbuild /t:Build /p:Configuration=Release /p:Platform=x86 | |
- name: Publish Release x86 artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Release_x86 | |
path: | | |
bin\x86\Release\Newtonsoft.Json.dll | |
bin\x86\Release\Newtonsoft.Json.xml | |
bin\x86\Release\xp-apps.exe | |
build_release_x64: | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# - name: Setup .NET | |
# uses: actions/setup-dotnet@v3 | |
# with: | |
# dotnet-version: '4.x' | |
- name: setup-msbuild | |
uses: microsoft/setup-msbuild@v2 | |
with: | |
msbuild-architecture: x64 | |
- name: Restore dependencies | |
run: nuget restore | |
- name: Build Release x64 | |
run: msbuild /t:Build /p:Configuration=Release /p:Platform=x64 | |
- name: Publish Release x64 artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Release_x64 | |
path: | | |
bin\x64\Release\Newtonsoft.Json.dll | |
bin\x64\Release\Newtonsoft.Json.xml | |
bin\x64\Release\xp-apps.exe |