From 777da09a9e17ed8a05f6a2d0164c019e76e11090 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Sat, 2 Mar 2024 03:20:06 +0300 Subject: [PATCH 1/2] [Build-System] Upgrade legacy Windows SDK to 10.0 in Visual Studio projects. --- libs/esl/managed/esl.2017.vcxproj | 2 +- libs/win32/civetweb/duktape_lib.vcxproj | 2 +- libs/win32/civetweb/lua_lib.vcxproj | 2 +- libs/win32/ffmpeg/ffmpeg.2017.vcxproj | 2 +- libs/win32/libav/libav.2017.vcxproj | 2 +- libs/win32/libyuv/libyuv.2017.vcxproj | 2 +- libs/win32/speex/libspeexdsp.2017.vcxproj | 2 +- src/mod/applications/mod_av/test/test_mod_av.2017.vcxproj | 2 +- tests/unit/test_switch_core.2017.vcxproj | 2 +- tests/unit/test_switch_core_codec.2017.vcxproj | 2 +- tests/unit/test_switch_core_db.2017.vcxproj | 2 +- tests/unit/test_switch_ivr_originate.2017.vcxproj | 2 +- w32/Library/FreeSwitchCore.2017.vcxproj | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/libs/esl/managed/esl.2017.vcxproj b/libs/esl/managed/esl.2017.vcxproj index f004381411a..a140d2d296f 100644 --- a/libs/esl/managed/esl.2017.vcxproj +++ b/libs/esl/managed/esl.2017.vcxproj @@ -23,7 +23,7 @@ {FEA2D0AE-6713-4E41-A473-A143849BC7FF} ESL ManagedCProj - 8.1 + 10.0 diff --git a/libs/win32/civetweb/duktape_lib.vcxproj b/libs/win32/civetweb/duktape_lib.vcxproj index c5ada616142..5a157971a07 100644 --- a/libs/win32/civetweb/duktape_lib.vcxproj +++ b/libs/win32/civetweb/duktape_lib.vcxproj @@ -22,7 +22,7 @@ {0A11689C-DB6A-4BF6-97B2-AD32DB863FBD} Win32Proj duktape_lib - 8.1 + 10.0 diff --git a/libs/win32/civetweb/lua_lib.vcxproj b/libs/win32/civetweb/lua_lib.vcxproj index 35b9f448b86..d2b5d7503ee 100644 --- a/libs/win32/civetweb/lua_lib.vcxproj +++ b/libs/win32/civetweb/lua_lib.vcxproj @@ -22,7 +22,7 @@ {8F5E5D77-D269-4665-9E27-1045DA6CF0D8} Win32Proj lua_lib - 8.1 + 10.0 diff --git a/libs/win32/ffmpeg/ffmpeg.2017.vcxproj b/libs/win32/ffmpeg/ffmpeg.2017.vcxproj index b985670dbe3..4c70bf6c716 100644 --- a/libs/win32/ffmpeg/ffmpeg.2017.vcxproj +++ b/libs/win32/ffmpeg/ffmpeg.2017.vcxproj @@ -21,7 +21,7 @@ ffmpeg ffmpeg - 10.0.17134.0 + 10.0 {BC1FD72E-1CD5-4525-A7F5-17C5740BFDED} diff --git a/libs/win32/libav/libav.2017.vcxproj b/libs/win32/libav/libav.2017.vcxproj index df547c3a7c0..1b4ed945b72 100644 --- a/libs/win32/libav/libav.2017.vcxproj +++ b/libs/win32/libav/libav.2017.vcxproj @@ -21,7 +21,7 @@ libav libav - 8.1 + 10.0 {841C345F-FCC7-4F64-8F54-0281CEABEB01} diff --git a/libs/win32/libyuv/libyuv.2017.vcxproj b/libs/win32/libyuv/libyuv.2017.vcxproj index 136ac5119b9..f74f7e12034 100644 --- a/libs/win32/libyuv/libyuv.2017.vcxproj +++ b/libs/win32/libyuv/libyuv.2017.vcxproj @@ -23,7 +23,7 @@ {B6E22500-3DB6-4E6E-8CD5-591B781D7D99} libyuv Win32Proj - 8.1 + 10.0 diff --git a/libs/win32/speex/libspeexdsp.2017.vcxproj b/libs/win32/speex/libspeexdsp.2017.vcxproj index 3c50103da97..4e2ba30453d 100644 --- a/libs/win32/speex/libspeexdsp.2017.vcxproj +++ b/libs/win32/speex/libspeexdsp.2017.vcxproj @@ -38,7 +38,7 @@ {03207781-0D1C-4DB3-A71D-45C608F28DBD} Win32Proj libspeexdsp - 8.1 + 10.0 diff --git a/src/mod/applications/mod_av/test/test_mod_av.2017.vcxproj b/src/mod/applications/mod_av/test/test_mod_av.2017.vcxproj index 11dd386ff18..da6fdb97c30 100644 --- a/src/mod/applications/mod_av/test/test_mod_av.2017.vcxproj +++ b/src/mod/applications/mod_av/test/test_mod_av.2017.vcxproj @@ -22,7 +22,7 @@ test_mod_av test_mod_av Win32Proj - 10.0.17134.0 + 10.0 {7926CB0D-62CE-4A09-AE94-1DA2BC92D625} diff --git a/tests/unit/test_switch_core.2017.vcxproj b/tests/unit/test_switch_core.2017.vcxproj index c9e1cd54232..453e4a6bb88 100644 --- a/tests/unit/test_switch_core.2017.vcxproj +++ b/tests/unit/test_switch_core.2017.vcxproj @@ -22,7 +22,7 @@ test_switch_core test_switch_core Win32Proj - 10.0.17134.0 + 10.0 {EF62B845-A0CE-44FD-B8E6-475FE87D06C3} diff --git a/tests/unit/test_switch_core_codec.2017.vcxproj b/tests/unit/test_switch_core_codec.2017.vcxproj index 1434d80475d..9c30374327b 100644 --- a/tests/unit/test_switch_core_codec.2017.vcxproj +++ b/tests/unit/test_switch_core_codec.2017.vcxproj @@ -22,7 +22,7 @@ test_switch_core_codec test_switch_core_codec Win32Proj - 10.0.17134.0 + 10.0 {589A07E7-5DE5-49FD-A62C-27795B806AFB} diff --git a/tests/unit/test_switch_core_db.2017.vcxproj b/tests/unit/test_switch_core_db.2017.vcxproj index 9a419d556d4..956e708977b 100644 --- a/tests/unit/test_switch_core_db.2017.vcxproj +++ b/tests/unit/test_switch_core_db.2017.vcxproj @@ -22,7 +22,7 @@ test_switch_core_db test_switch_core_db Win32Proj - 10.0.17134.0 + 10.0 {580675D7-C1C9-4197-AAC5-00F64FAFDE78} diff --git a/tests/unit/test_switch_ivr_originate.2017.vcxproj b/tests/unit/test_switch_ivr_originate.2017.vcxproj index 78769a0b367..6ca24a11bb5 100644 --- a/tests/unit/test_switch_ivr_originate.2017.vcxproj +++ b/tests/unit/test_switch_ivr_originate.2017.vcxproj @@ -22,7 +22,7 @@ test_switch_ivr_originate test_switch_ivr_originate Win32Proj - 10.0.17134.0 + 10.0 {69A7464A-9B0D-4804-A108-835229DACF58} diff --git a/w32/Library/FreeSwitchCore.2017.vcxproj b/w32/Library/FreeSwitchCore.2017.vcxproj index 2f7a3239bd1..dbb0d5b7d18 100644 --- a/w32/Library/FreeSwitchCore.2017.vcxproj +++ b/w32/Library/FreeSwitchCore.2017.vcxproj @@ -23,7 +23,7 @@ {202D7A4E-760D-4D0E-AFA1-D7459CED30FF} FreeSwitchCoreLib Win32Proj - 8.1 + 10.0 From 09682fcc776a141500f11d797bed7d6c57a12633 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Sat, 2 Mar 2024 03:20:06 +0300 Subject: [PATCH 2/2] [GHA] Windows build. --- .github/workflows/windows.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 00000000000..8908164d388 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,27 @@ +name: Windows + +on: + pull_request: + types: [opened, synchronize] + push: + branches: [master, v1.10] +jobs: + x64: + runs-on: windows-2019 + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v2 + + - name: Build + run: msbuild Freeswitch.2017.sln -t:build -verbosity:minimal -property:Configuration=Release -property:Platform=x64 + + - name: Upload Artifact + uses: actions/upload-artifact@v2 + with: + name: MSI Package + path: D:\a\freeswitch\freeswitch\x64\*.msi \ No newline at end of file