10 group: ${{ github.workflow }}-${{ github.ref }}
11 cancel-in-progress: true
22 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
24 runs-on: ${{ matrix.os }}
25 name: ${{ matrix.os }} ${{ matrix.CXX }} ${{ matrix.feature }}
27 ACE_ROOT: ${{ github.workspace }}/ACE
28 TAO_ROOT: ${{ github.workspace }}/TAO
29 MPC_ROOT: ${{ github.workspace }}/MPC
31 CXX: ${{ matrix.CXX }}
33 - name: checkout ACE/TAO
34 uses: actions/checkout@v2
36 uses: actions/checkout@v2
38 repository: DOCGroup/MPC
39 path: ${{ env.MPC_ROOT }}
42 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
43 sudo apt-add-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ ${{ matrix.Repo }} main"
47 sudo apt-get --yes update
48 sudo apt-get --yes install ${{ matrix.PackageDeps }}
49 - name: create $ACE_ROOT/ace/config.h
51 '#define ACE_FACE_SAFETY_BASE' > ${env:ACE_ROOT}/ace/config.h
52 '#include "ace/config-linux.h"' >> ${env:ACE_ROOT}/ace/config.h
54 - name: add optional optional macros
56 '${{ matrix.optional_macros }}' >> ${env:ACE_ROOT}/include/makeinclude/platform_macros.GNU
58 if: matrix.optional_macros != ''
59 - name: extend $ACE_ROOT/include/makeinclude/platform_macros.GNU
61 '${{ matrix.platform_file }}' >> ${env:ACE_ROOT}/include/makeinclude/platform_macros.GNU
63 - name: add optional optional feature
65 '${{ matrix.optional_feature }}' >> ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
66 if: matrix.optional_feature != ''
68 - name: Run mwc.pl on $(ACE_ROOT)/ace/ace.mwc
70 perl ${env:ACE_ROOT}/bin/mwc.pl -type gnuace ${env:ACE_ROOT}/ace/ace.mwc -workers 4
72 - name: Run mwc.pl on $(ACE_ROOT)/tests/tests.mwc
74 perl ${env:ACE_ROOT}/bin/mwc.pl -type gnuace ${env:ACE_ROOT}/tests/tests.mwc -workers 4
76 - name: Build ace project
78 make -j 6 -C ${env:ACE_ROOT}/ace
80 - name: Build ACE/tests project
82 make -j 6 -C ${env:ACE_ROOT}/tests