10 group: ${{ github.workflow }}-${{ github.ref }}
11 cancel-in-progress: true
23 BuildConfiguration: Debug
24 vcpkgarch: x64-windows
25 vcpkglibdir: debug/lib
26 vcpkgpackages: 'openssl xerces-c[xmlch-wchar]'
27 OptionalFeatures: uses_wchar=1
32 BuildConfiguration: Debug
33 vcpkgarch: x64-windows
34 vcpkglibdir: debug/lib
35 vcpkgpackages: openssl xerces-c
36 - name: VS2019Release64
40 BuildConfiguration: Release
41 vcpkgarch: x64-windows
43 vcpkgpackages: openssl xerces-c
48 BuildConfiguration: Debug
49 vcpkgarch: x86-windows
50 vcpkglibdir: debug/lib
51 vcpkgpackages: openssl xerces-c
52 - name: VS2019Release32
56 BuildConfiguration: Release
57 vcpkgarch: x86-windows
59 vcpkgpackages: openssl xerces-c
60 - name: VS2019Debug64Cxx17
64 BuildConfiguration: Debug
65 vcpkgarch: x64-windows
66 vcpkglibdir: debug/lib
67 vcpkgpackages: openssl xerces-c zlib
68 OptionalMpcArgs: -value_template LanguageStandard=stdcpp17
69 - name: VS2019Debug64Cxx20
73 BuildConfiguration: Debug
74 vcpkgarch: x64-windows
75 vcpkglibdir: debug/lib
76 vcpkgpackages: openssl xerces-c zlib
77 OptionalMpcArgs: -value_template LanguageStandard=stdcpp20
78 runs-on: ${{ matrix.vmimage }}
79 name: ${{ matrix.name }}
81 ACE_ROOT: ${{ github.workspace }}/ACE
82 TAO_ROOT: ${{ github.workspace }}/TAO
83 MPC_ROOT: ${{ github.workspace }}/MPC
84 VCPKG_ROOT: ${{ github.workspace }}/vcpkg
85 XERCESC_INCDIR: ${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkgarch }}/include
86 XERCESC_LIBDIR: ${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkgarch }}/${{ matrix.vcpkglibdir }}
87 SSL_INCDIR: ${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkgarch }}/include
88 SSL_LIBDIR: ${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkgarch }}/${{ matrix.vcpkglibdir }}
90 - name: checkout ACE/TAO
91 uses: actions/checkout@v2
93 uses: actions/checkout@v2
95 repository: DOCGroup/MPC
96 path: ${{ env.MPC_ROOT }}
98 uses: lukka/run-vcpkg@v7
100 vcpkgGitCommitId: b86c0c35b88e2bf3557ff49dc831689c2f085090
101 vcpkgArguments: --recurse ${{ matrix.vcpkgpackages }}
102 vcpkgTriplet: ${{ matrix.vcpkgarch }}
103 appendedCacheKey: ${{ matrix.name }}
104 - name: create $ACE_ROOT/ace/config.h
106 '#include "ace/config-win32.h"' > ${env:ACE_ROOT}/ace/config.h
108 - name: create $ACE_ROOT/bin/MakeProjectCreator/config/default.features
110 echo "ipv6=1" | out-file -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
111 echo "xerces3=1" | out-file -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
112 echo "ssl=1" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
113 echo "openssl11=1" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
114 echo "versioned_namespace=1" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
116 - name: Add optional features ${{ matrix.OptionalFeatures }}
118 echo "${{ matrix.OptionalFeatures }}" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
120 if: matrix.OptionalFeatures != ''
121 - name: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
123 perl ${env:ACE_ROOT}/bin/mwc.pl -type ${{ matrix.mpctype }} ${env:TAO_ROOT}/TAO_ACE.mwc -workers 4 ${{ matrix.OptionalMpcArgs }}
125 - name: Run mwc.pl on $(ACE_ROOT)/tests/tests.mwc
127 perl ${env:ACE_ROOT}/bin/mwc.pl -type ${{ matrix.mpctype }} ${env:ACE_ROOT}/tests/tests.mwc -workers 4 ${{ matrix.OptionalMpcArgs }}
129 - name: Setup msbuild
130 uses: microsoft/setup-msbuild@v1
131 - name: Build solution TAO/TAO_ACE.sln
132 run: msbuild -maxcpucount -p:Platform=${{ matrix.BuildPlatform }} -p:Configuration=${{ matrix.BuildConfiguration }} TAO/TAO_ACE.sln
133 - name: Build solution ACE/tests/tests.sln
134 run: msbuild -maxcpucount -p:Platform=${{ matrix.BuildPlatform }} -p:Configuration=${{ matrix.BuildConfiguration }} ACE/tests/tests.sln