Skip to content

Commit 5ef14b2

Browse files
committed
Add corosio to the library dependencies in ci.yml
1 parent 63a60e9 commit 5ef14b2

1 file changed

Lines changed: 25 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,13 @@ jobs:
299299
ref: ${{ (github.ref_name == 'master' && github.ref_name) || 'develop' }}
300300
path: capy-root
301301

302+
- name: Clone Corosio
303+
uses: actions/checkout@v4
304+
with:
305+
repository: cppalliance/corosio
306+
ref: ${{ (github.ref_name == 'master' && github.ref_name) || 'develop' }}
307+
path: corosio-root
308+
302309
- name: Clone Boost
303310
uses: alandefreitas/cpp-actions/boost-clone@v1.9.0
304311
id: boost-clone
@@ -307,7 +314,7 @@ jobs:
307314
boost-dir: boost-source
308315
modules-exclude-paths: ''
309316
scan-modules-dir: http-root
310-
scan-modules-ignore: http,capy
317+
scan-modules-ignore: http,capy,corosio
311318

312319
- name: ASLR Fix
313320
if: ${{ startsWith(matrix.runs-on, 'ubuntu' )}}
@@ -334,6 +341,7 @@ jobs:
334341
# Remove module from boost-source
335342
rm -r "boost-source/libs/$module" || true
336343
rm -r "boost-source/libs/capy" || true
344+
rm -r "boost-source/libs/corosio" || true
337345
338346
# Copy cached boost-source to an isolated boost-root
339347
cp -r boost-source boost-root
@@ -350,6 +358,9 @@ jobs:
350358
# Patch boost-root with capy dependency
351359
cp -r "$workspace_root"/capy-root "libs/capy"
352360
361+
# Patch boost-root with corosio dependency
362+
cp -r "$workspace_root"/corosio-root "libs/corosio"
363+
353364
- name: Boost B2 Workflow
354365
uses: alandefreitas/cpp-actions/b2-workflow@v1.9.0
355366
if: ${{ !matrix.coverage }}
@@ -541,7 +552,7 @@ jobs:
541552
with:
542553
apt-get: git cmake
543554

544-
- name: Clone Boost.Corosio
555+
- name: Clone Boost.Http
545556
uses: actions/checkout@v4
546557
with:
547558
path: http-root
@@ -553,6 +564,13 @@ jobs:
553564
ref: ${{ (github.ref_name == 'master' && github.ref_name) || 'develop' }}
554565
path: capy-root
555566

567+
- name: Clone Corosio
568+
uses: actions/checkout@v4
569+
with:
570+
repository: cppalliance/corosio
571+
ref: ${{ (github.ref_name == 'master' && github.ref_name) || 'develop' }}
572+
path: corosio-root
573+
556574
- name: Clone Boost
557575
uses: alandefreitas/cpp-actions/boost-clone@v1.9.0
558576
id: boost-clone
@@ -561,7 +579,7 @@ jobs:
561579
boost-dir: boost-source
562580
modules-exclude-paths: ''
563581
scan-modules-dir: http-root
564-
scan-modules-ignore: http,capy
582+
scan-modules-ignore: http,capy,corosio
565583

566584
- name: Patch Boost
567585
id: patch
@@ -583,6 +601,7 @@ jobs:
583601
# Remove module from boost-source
584602
rm -r "boost-source/libs/$module" || true
585603
rm -r "boost-source/libs/capy" || true
604+
rm -r "boost-source/libs/corosio" || true
586605
587606
# Copy cached boost-source to an isolated boost-root
588607
cp -r boost-source boost-root
@@ -599,6 +618,9 @@ jobs:
599618
# Patch boost-root with capy dependency
600619
cp -r "$workspace_root"/capy-root "libs/capy"
601620
621+
# Patch boost-root with corosio dependency
622+
cp -r "$workspace_root"/corosio-root "libs/corosio"
623+
602624
- uses: actions/setup-node@v4
603625
with:
604626
node-version: 18

0 commit comments

Comments
 (0)