This repository has been archived by the owner on May 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
64 lines (62 loc) · 2.01 KB
/
macosx.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: macosx
on:
push:
pull_request:
schedule:
- cron: '0 1 * * SUN'
jobs:
build:
strategy:
matrix:
include:
- os: macos-10.15
platform_file: include $(ACE_ROOT)/include/makeinclude/platform_macosx.GNU
runs-on: ${{ matrix.os }}
name: "${{ matrix.os }}"
env:
DOC_ROOT: ${{ github.workspace }}/ACE_TAO
ACE_ROOT: ${{ github.workspace }}/ACE_TAO/ACE
TAO_ROOT: ${{ github.workspace }}/ACE_TAO/TAO
MPC_ROOT: ${{ github.workspace }}/ACE_TAO/MPC
CIAO_ROOT: ${{ github.workspace }}
DANCE_ROOT: ${{ github.workspace }}/DAnCE
steps:
- name: checkout CIAO
uses: actions/checkout@v2
- name: checkout ACE/TAO
uses: actions/checkout@v2
with:
repository: DOCGroup/ACE_TAO
path: ${{ env.DOC_ROOT }}
ref: ace6tao2
- name: checkout MPC
uses: actions/checkout@v2
with:
repository: DOCGroup/MPC
path: ${{ env.MPC_ROOT }}
- name: checkout DAnCE
uses: actions/checkout@v2
with:
repository: DOCGroup/DAnCE
path: ${{ env.DANCE_ROOT }}
- name: create $ACE_ROOT/ace/config.h
run: |
'#include "ace/config-macosx.h"' > ${env:ACE_ROOT}/ace/config.h
shell: pwsh
- name: create $ACE_ROOT/include/makeinclude/platform_macros.GNU
run: |
'${{ matrix.platform_file }}' >> ${env:ACE_ROOT}/include/makeinclude/platform_macros.GNU
shell: pwsh
- name: create $ACE_ROOT/bin/MakeProjectCreator/config/default.features
run: |
'ipv6=1' > ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
'versioned_namespace=1' >> ${env:ACE_ROOT}/bin/MakeProjectCreator/config/default.features
shell: pwsh
- name: Run mwc.pl on $(CIAO_ROOT)/CIAO_TAO_DAnCE.mwc
run: |
perl ${env:ACE_ROOT}/bin/mwc.pl -type gnuace ${env:CIAO_ROOT}/CIAO_TAO_DAnCE.mwc -workers 4
shell: pwsh
- name: Build CIAO_TAO_DAnCE project
run: |
make -j 6 -C ${env:CIAO_ROOT}
shell: pwsh