Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: cmake

on:
push:
pull_request:
schedule:
- cron: '0 1 * * SUN'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- CC: gcc-12
CXX: g++-12
PackageDeps: g++-12
os: ubuntu-22.04
- CC: vs2022
CXX: vs2022
os: windows-2022
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} ${{ matrix.CXX }}
env:
ACE_ROOT: ${{ github.workspace }}/ACE
MPC_ROOT: ${{ github.workspace }}/MPC
CC: ${{ matrix.CC }}
CXX: ${{ matrix.CXX }}
steps:
- name: checkout ACE/TAO
uses: actions/checkout@v7
- name: checkout MPC
uses: actions/checkout@v7
with:
repository: DOCGroup/MPC
path: ${{ env.MPC_ROOT }}
- name: Add Repo
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ ${{ matrix.Repo }} main"
if: matrix.Repo != ''
- name: Add packages
run: |
sudo apt-get --yes update
sudo apt-get --yes install ${{ matrix.PackageDeps }}
if: matrix.PackageDeps != ''
- name: create $ACE_ROOT/ace/config.h
run: |
'#ifdef linux' > ${env:ACE_ROOT}/ace/config.h
'# include "ace/config-linux.h"' >> ${env:ACE_ROOT}/ace/config.h
'#else' >> ${env:ACE_ROOT}/ace/config.h
'# include "ace/config-win32.h"' >> ${env:ACE_ROOT}/ace/config.h
'#endif' >> ${env:ACE_ROOT}/ace/config.h
shell: pwsh
- name: Run mwc.pl on $(ACE_ROOT)/ace/ace.mwc
run: |
perl ${env:ACE_ROOT}/bin/mwc.pl -type cmake ${env:ACE_ROOT}/ace/ace.mwc -workers 6
shell: pwsh
- name: Run mwc.pl on $(ACE_ROOT)/apps/gperf/src
run: |
perl ${env:ACE_ROOT}/bin/mwc.pl -type cmake ${env:ACE_ROOT}/apps/gperf/src
shell: pwsh
- name: Build ace project
run: |
cd ${env:ACE_ROOT}/ace
cmake -S . -B build
cmake --build build -j6
shell: pwsh
- name: Build ACE/apps/gperf/src project
run: |
cd ${env:ACE_ROOT}/apps/gperf/src
cmake -S . -B build
cmake --build build -j6
shell: pwsh
4 changes: 2 additions & 2 deletions .github/workflows/face.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
CXX: ${{ matrix.CXX }}
steps:
- name: checkout ACE/TAO
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: checkout MPC
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: DOCGroup/MPC
path: ${{ env.MPC_ROOT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: checkout ACE/TAO
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Run fuzz
run: |
perl ${env:ACE_ROOT}/bin/fuzz.pl
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/linux-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,15 @@ jobs:
MPC_ROOT: ${{ github.workspace }}/MPC
steps:
- name: Checkout ACE_TAO
<<<<<<< HEAD
uses: actions/checkout@v4
- name: Checkout MPC
uses: actions/checkout@v4
=======
uses: actions/checkout@v7
- name: Checkout MPC
uses: actions/checkout@v7
>>>>>>> 4cd43b72e8 (Bump actions/checkout from 6 to 7)
with:
repository: DOCGroup/MPC
path: ${{ env.MPC_ROOT }}
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,17 @@ jobs:
CC: ${{ matrix.CC }}
CXX: ${{ matrix.CXX }}
steps:
<<<<<<< HEAD
- name: checkout ACE/TAO
uses: actions/checkout@v6
- name: checkout MPC
uses: actions/checkout@v6
=======
- name: Checkout ACE_TAO
uses: actions/checkout@v7
- name: Checkout MPC
uses: actions/checkout@v7
>>>>>>> 4cd43b72e8 (Bump actions/checkout from 6 to 7)
with:
repository: DOCGroup/MPC
path: ${{ env.MPC_ROOT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macosx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
MPC_ROOT: ${{ github.workspace }}/MPC
steps:
- name: checkout ACE/TAO
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: checkout MPC
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: DOCGroup/MPC
path: ${{ env.MPC_ROOT }}
Expand Down
89 changes: 87 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
VCPKG_INSTALLED_DIR: ${{ github.workspace }}/vcpkg_installed
steps:
- name: checkout ACE/TAO
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: checkout MPC
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: DOCGroup/MPC
path: ${{ env.MPC_ROOT }}
Expand Down Expand Up @@ -127,3 +127,88 @@ jobs:
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
<<<<<<< HEAD
=======
mingw:
runs-on: windows-2022
strategy:
fail-fast: false
matrix:
compiler: [gcc]
msystem: [MINGW64]
include:
- platform_file: include $(ACE_ROOT)/include/makeinclude/platform_mingw32.GNU
name: ${{ matrix.msystem }}-${{ matrix.compiler }}
env:
ACE_ROOT: ${{ github.workspace }}/ACE
TAO_ROOT: ${{ github.workspace }}/TAO
MPC_ROOT: ${{ github.workspace }}/MPC
steps:
- name: checkout ACE/TAO
uses: actions/checkout@v7
- name: checkout MPC
uses: actions/checkout@v7
with:
repository: DOCGroup/MPC
path: ${{ env.MPC_ROOT }}
- uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.msystem }}
install: make
- run: pacman --noconfirm -S mingw-w64-x86_64-${{ matrix.compiler }}
shell: msys2 {0}
- run: ${{ matrix.compiler }} --version
shell: msys2 {0}
- 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 "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: add optional optional macros
run: |
'${{ matrix.optional_macros }}' >> ${env:ACE_ROOT}/include/makeinclude/platform_macros.GNU
shell: pwsh
if: matrix.optional_macros != ''
- name: extend $ACE_ROOT/include/makeinclude/platform_macros.GNU
run: |
'${{ matrix.platform_file }}' >> ${env:ACE_ROOT}/include/makeinclude/platform_macros.GNU
shell: pwsh
- name: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
run: |
perl ${env:ACE_ROOT}/bin/mwc.pl -type gnuace ${env:TAO_ROOT}/TAO_ACE.mwc -workers 4
shell: pwsh
- name: Run mwc.pl on $(ACE_ROOT)/tests/tests.mwc
run: |
perl ${env:ACE_ROOT}/bin/mwc.pl -type gnuace ${env:ACE_ROOT}/tests/tests.mwc -workers 4
shell: pwsh
- name: Run mwc.pl on $(TAO_ROOT)/tests/IDL_Test
run: |
perl ${env:ACE_ROOT}/bin/mwc.pl -type gnuace ${env:TAO_ROOT}/tests/IDL_Test -workers 4
shell: pwsh
- name: Build TAO_ACE project
run: |
export ACE_ROOT=`cygpath -u $ACE_ROOT`
export TAO_ROOT=`cygpath -u $TAO_ROOT`
make -j 6 -C $TAO_ROOT
shell: msys2 {0}
- name: Build ACE/tests project
run: |
export ACE_ROOT=`cygpath -u $ACE_ROOT`
export TAO_ROOT=`cygpath -u $TAO_ROOT`
make -j 6 -C $ACE_ROOT/tests
shell: msys2 {0}
- name: Build TAO/tests/IDL_Test project
run: |
export ACE_ROOT=`cygpath -u $ACE_ROOT`
export TAO_ROOT=`cygpath -u $TAO_ROOT`
make -j 6 -C $TAO_ROOT/tests/IDL_Test
shell: msys2 {0}
>>>>>>> 4cd43b72e8 (Bump actions/checkout from 6 to 7)
Loading