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