11 group: ${{ github.workflow }}-${{ github.ref }}
12 cancel-in-progress: true
30 runs-on: ${{ matrix.os }}
31 name: ${{ matrix.os }} ${{ matrix.CXX }}
33 ACE_ROOT: ${{ github.workspace }}/ACE
34 MPC_ROOT: ${{ github.workspace }}/MPC
36 CXX: ${{ matrix.CXX }}
38 - name: checkout ACE/TAO
39 uses: actions/checkout@v4
41 uses: actions/checkout@v4
43 repository: DOCGroup/MPC
44 path: ${{ env.MPC_ROOT }}
47 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
48 sudo apt-add-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ ${{ matrix.Repo }} main"
52 sudo apt-get --yes update
53 sudo apt-get --yes install ${{ matrix.PackageDeps }}
54 if: matrix.PackageDeps != ''
55 - name: create $ACE_ROOT/ace/config.h
57 '#ifdef linux' > ${env:ACE_ROOT}/ace/config.h
58 '# include "ace/config-linux.h"' >> ${env:ACE_ROOT}/ace/config.h
59 '#else' >> ${env:ACE_ROOT}/ace/config.h
60 '# include "ace/config-win32.h"' >> ${env:ACE_ROOT}/ace/config.h
61 '#endif' >> ${env:ACE_ROOT}/ace/config.h
63 - name: Run mwc.pl on $(ACE_ROOT)/ace/ace.mwc
65 perl ${env:ACE_ROOT}/bin/mwc.pl -type cmake ${env:ACE_ROOT}/ace/ace.mwc -workers 6
67 - name: Run mwc.pl on $(ACE_ROOT)/apps/gperf/src
69 perl ${env:ACE_ROOT}/bin/mwc.pl -type cmake ${env:ACE_ROOT}/apps/gperf/src
71 - name: Build ace project
73 cd ${env:ACE_ROOT}/ace
75 cmake --build build -j6
77 - name: Build ACE/apps/gperf/src project
79 cd ${env:ACE_ROOT}/apps/gperf/src
81 cmake --build build -j6