11 group: ${{ github.workflow }}-${{ github.ref }}
12 cancel-in-progress: true
24 ACE_ROOT: ${{ github.workspace }}/ACE
25 TAO_ROOT: ${{ github.workspace }}/TAO
26 MPC_ROOT: ${{ github.workspace }}/MPC
28 - name: Checkout ACE_TAO
29 uses: actions/checkout@v4
31 uses: actions/checkout@v4
33 repository: DOCGroup/MPC
34 path: ${{ env.MPC_ROOT }}
35 - name: Write configuation files
37 echo '#include "ace/config-linux.h"' > ${{ env.ACE_ROOT }}/ace/config.h
38 echo 'include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU' > ${{ env.ACE_ROOT }}/include/makeinclude/platform_macros.GNU
39 - name: Build in container
40 uses: addnab/docker-run-action@v3
43 options: -v ${{ github.workspace }}:${{ github.workspace }}
45 apk add --no-cache git bash make g++ perl linux-headers
46 export ACE_ROOT=${{ env.ACE_ROOT }}
47 export TAO_ROOT=${{ env.TAO_ROOT }}
48 export MPC_ROOT=${{ env.MPC_ROOT }}
49 perl ${{ env.ACE_ROOT }}/bin/mwc.pl -type gnuace ${{ env.TAO_ROOT }}/TAO_ACE.mwc -workers 4
50 perl ${{ env.ACE_ROOT }}/bin/mwc.pl -type gnuace ${{ env.ACE_ROOT }}/tests/tests.mwc -workers 4
51 perl ${{ env.ACE_ROOT }}/bin/mwc.pl -type gnuace ${{ env.TAO_ROOT }}/tests/IDL_Test -workers 4
52 perl ${{ env.ACE_ROOT }}/bin/mwc.pl -type gnuace ${{ env.TAO_ROOT }}/tests/IDLv4 -workers 4
53 make -j 6 -C ${{ env.TAO_ROOT }}
54 make -j 6 -C ${{ env.ACE_ROOT }}/tests
55 make -j 6 -C ${{ env.TAO_ROOT }}/tests/IDL_Test
56 make -j 6 -C ${{ env.TAO_ROOT }}/tests/IDLv4