Manually apply 1e38fc4f1c4a13a466dc6540fd06426d79a3e40c, MPC_LIB_MODI… #304
Workflow file for this run
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: windows | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 1 * * SUN' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: VS2019WChar | |
vmimage: windows-2019 | |
mpctype: vs2019 | |
BuildPlatform: x64 | |
BuildConfiguration: Debug | |
vcpkgarch: x64-windows | |
vcpkglibdir: debug/lib | |
vcpkgpackages: '"openssl", {"name": "xerces-c", "features": ["xmlch-wchar"]}' | |
OptionalFeatures: uses_wchar=1 | |
- name: VS2019Debug64 | |
vmimage: windows-2019 | |
mpctype: vs2019 | |
BuildPlatform: x64 | |
BuildConfiguration: Debug | |
vcpkgarch: x64-windows | |
vcpkglibdir: debug/lib | |
vcpkgpackages: '"openssl", "xerces-c"' | |
- name: VS2019Release64 | |
vmimage: windows-2019 | |
mpctype: vs2019 | |
BuildPlatform: x64 | |
BuildConfiguration: Release | |
vcpkgarch: x64-windows | |
vcpkglibdir: lib | |
vcpkgpackages: '"openssl", "xerces-c"' | |
- name: VS2019Debug32 | |
vmimage: windows-2019 | |
mpctype: vs2019 | |
BuildPlatform: Win32 | |
BuildConfiguration: Debug | |
vcpkgarch: x86-windows | |
vcpkglibdir: debug/lib | |
vcpkgpackages: '"openssl", "xerces-c"' | |
- name: VS2019Release32 | |
vmimage: windows-2019 | |
mpctype: vs2019 | |
BuildPlatform: Win32 | |
BuildConfiguration: Release | |
vcpkgarch: x86-windows | |
vcpkglibdir: lib | |
vcpkgpackages: '"openssl", "xerces-c"' | |
- name: VS2019Debug64Cxx17 | |
vmimage: windows-2019 | |
mpctype: vs2019 | |
BuildPlatform: x64 | |
BuildConfiguration: Debug | |
vcpkgarch: x64-windows | |
vcpkglibdir: debug/lib | |
vcpkgpackages: '"openssl", "xerces-c", "zlib"' | |
OptionalMpcArgs: -value_template LanguageStandard=stdcpp17 | |
- name: VS2019Debug64Cxx20 | |
vmimage: windows-2019 | |
mpctype: vs2019 | |
BuildPlatform: x64 | |
BuildConfiguration: Debug | |
vcpkgarch: x64-windows | |
vcpkglibdir: debug/lib | |
vcpkgpackages: '"openssl", "xerces-c", "zlib"' | |
OptionalMpcArgs: -value_template LanguageStandard=stdcpp20 | |
runs-on: ${{ matrix.vmimage }} | |
name: ${{ matrix.name }} | |
env: | |
ACE_ROOT: ${{ github.workspace }}/ACE | |
TAO_ROOT: ${{ github.workspace }}/TAO | |
MPC_ROOT: ${{ github.workspace }}/MPC | |
VCPKG_ROOT: ${{ github.workspace }}/vcpkg | |
XERCESC_INCDIR: ${{ github.workspace }}/vcpkg_installed/${{ matrix.vcpkgarch }}/include | |
XERCESC_LIBDIR: ${{ github.workspace }}/vcpkg_installed/${{ matrix.vcpkgarch }}/${{ matrix.vcpkglibdir }} | |
SSL_INCDIR: ${{ github.workspace }}/vcpkg_installed/${{ matrix.vcpkgarch }}/include | |
SSL_LIBDIR: ${{ github.workspace }}/vcpkg_installed/${{ matrix.vcpkgarch }}/${{ matrix.vcpkglibdir }} | |
VCPKG_DEFAULT_TRIPLET: ${{ matrix.vcpkgarch }} | |
VCPKG_INSTALLED_DIR: ${{ github.workspace }}/vcpkg_installed | |
steps: | |
- name: checkout ACE/TAO | |
uses: actions/checkout@v2 | |
- name: checkout MPC | |
uses: actions/checkout@v2 | |
with: | |
repository: DOCGroup/MPC | |
path: ${{ env.MPC_ROOT }} | |
- name: create vcpkg.json | |
run: | | |
'{"name": "tao", "version-string": "githubaction", "dependencies": [ ${{ matrix.vcpkgpackages }} ]}' > vcpkg.json | |
shell: pwsh | |
- name: Install vcpkg | |
uses: lukka/run-vcpkg@v11 | |
with: | |
vcpkgGitCommitId: a34c873a9717a888f58dc05268dea15592c2f0ff | |
runVcpkgInstall: true | |
- name: create $ACE_ROOT/ace/config.h | |
run: | | |
'#include "ace/config-win32.h"' > ${env:ACE_ROOT}/ace/config.h | |
shell: pwsh | |
- name: create $ACE_ROOT/bin/MakeProjectCreator/config/default.features | |
run: | | |
echo "ipv6=1" | out-file -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features | |
echo "xerces3=1" | out-file -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features | |
echo "ssl=1" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features | |
echo "openssl11=1" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features | |
echo "versioned_namespace=1" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features | |
shell: pwsh | |
- name: Add optional features ${{ matrix.OptionalFeatures }} | |
run: | | |
echo "${{ matrix.OptionalFeatures }}" | out-file -append -encoding ASCII ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features | |
shell: pwsh | |
if: matrix.OptionalFeatures != '' | |
- name: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc | |
run: | | |
perl ${env:ACE_ROOT}/bin/mwc.pl -type ${{ matrix.mpctype }} ${env:TAO_ROOT}/TAO_ACE.mwc -workers 4 ${{ matrix.OptionalMpcArgs }} | |
shell: pwsh | |
- name: Run mwc.pl on $(ACE_ROOT)/tests/tests.mwc | |
run: | | |
perl ${env:ACE_ROOT}/bin/mwc.pl -type ${{ matrix.mpctype }} ${env:ACE_ROOT}/tests/tests.mwc -workers 4 ${{ matrix.OptionalMpcArgs }} | |
shell: pwsh | |
- name: Run mwc.pl on $(TAO_ROOT)/tests/IDL_Test | |
run: | | |
perl ${env:ACE_ROOT}/bin/mwc.pl -type ${{ matrix.mpctype }} ${env:TAO_ROOT}/tests/IDL_Test -workers 4 ${{ matrix.OptionalMpcArgs }} | |
shell: pwsh | |
- name: Setup msbuild | |
uses: microsoft/setup-msbuild@v1 | |
- name: Build solution TAO/TAO_ACE.sln | |
run: msbuild -maxcpucount -p:Platform=${{ matrix.BuildPlatform }} -p:Configuration=${{ matrix.BuildConfiguration }} TAO/TAO_ACE.sln | |
- name: Build solution ACE/tests/tests.sln | |
run: msbuild -maxcpucount -p:Platform=${{ matrix.BuildPlatform }} -p:Configuration=${{ matrix.BuildConfiguration }} ACE/tests/tests.sln | |
- name: Build solution TAO/tests/IDL_Test/IDL_Test.sln | |
run: msbuild -maxcpucount -p:Platform=${{ matrix.BuildPlatform }} -p:Configuration=${{ matrix.BuildConfiguration }} TAO/tests/IDL_Test/IDL_Test.sln |