18 BuildConfiguration: Debug
19 vcpkgarch: x64-windows
20 vcpkglibdir: debug/lib
21 vcpkgpackages: openssl xerces-c
26 BuildConfiguration: Debug
27 vcpkgarch: x64-windows
28 vcpkglibdir: debug/lib
29 vcpkgpackages: openssl xerces-c
30 - name: VS2019Release32
34 BuildConfiguration: Release
35 vcpkgarch: x86-windows
37 vcpkgpackages: openssl xerces-c
38 runs-on: ${{ matrix.vmimage }}
39 name: ${{ matrix.name }}
41 DOC_ROOT: ${{ github.workspace }}/ACE_TAO
42 ACE_ROOT: ${{ github.workspace }}/ACE_TAO/ACE
43 TAO_ROOT: ${{ github.workspace }}/ACE_TAO/TAO
44 MPC_ROOT: ${{ github.workspace }}/
45 VCPKG_ROOT: ${{ github.workspace }}/vcpkg
46 XERCESC_INCDIR: ${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkgarch }}/include
47 XERCESC_LIBDIR: ${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkgarch }}/${{ matrix.vcpkglibdir }}
48 SSL_INCDIR: ${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkgarch }}/include
49 SSL_LIBDIR: ${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkgarch }}/${{ matrix.vcpkglibdir }}
52 uses: actions/checkout@v2
53 - name: checkout ACE_TAO
54 uses: actions/checkout@v2
56 repository: DOCGroup/ACE_TAO
57 path: ${{ env.DOC_ROOT }}
59 uses: lukka/run-vcpkg@v7
61 vcpkgGitCommitId: 0bf3923f9fab4001c00f0f429682a0853b5749e0
62 vcpkgArguments: --recurse ${{ matrix.vcpkgpackages }}
63 vcpkgTriplet: ${{ matrix.vcpkgarch }}
64 appendedCacheKey: ${{ matrix.name }}
65 - name: create $ACE_ROOT/ace/config.h
67 '#include "ace/config-win32.h"' > ${env:ACE_ROOT}/ace/config.h
69 - name: create $ACE_ROOT/bin/MakeProjectCreator/config/default.features
71 echo "ipv6=1" | out-file -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
72 echo "xerces3=1" | out-file -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
73 echo "ssl=1" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
74 echo "openssl11=1" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
75 echo "versioned_namespace=1" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
77 - name: Add optional features ${{ matrix.OptionalFeatures }}
79 echo "${{ matrix.OptionalFeatures }}" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
81 if: matrix.OptionalFeatures != ''
82 - name: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
84 perl ${env:ACE_ROOT}/bin/mwc.pl -type ${{ matrix.mpctype }} ${env:TAO_ROOT}/TAO_ACE.mwc -workers 4
87 uses: microsoft/setup-msbuild@v1
88 - name: Build solution $(TAO_ROOT)/TAO_ACE.sln
90 msbuild -maxcpucount -p:Platform=${{ matrix.BuildPlatform }} -p:Configuration=${{ matrix.BuildConfiguration }} ${env:TAO_ROOT}/TAO_ACE.sln