Skip to content

Commit 3e1edee

Browse files
committed
Build packages sequentially using option files
1 parent a6667ba commit 3e1edee

File tree

15 files changed

+37
-37
lines changed

15 files changed

+37
-37
lines changed

.github/workflows/debian.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@ jobs:
6868
- name: Build the recipes
6969
working-directory: recipes
7070
run: |
71-
# Loop over all recipe option files in the `options` directory.
71+
# Loop over all recipe option files in the `options` directory. Each
72+
# option file contains the path to the recipe and the options to use.
7273
for opts in ../options/*; do
73-
filename=${##../opts/}
74+
filename=${##../options/}
7475
recipe=${filename%.options}
7576
echo "Building recipe '${recipe}'."
76-
conan create . \
77+
conan create $(cat opts) \
7778
--build=missing \
7879
--settings:all=build_type=${{ matrix.build.type }} \
7980
--update \
80-
-o shared=False -o fPIC=True \
81-
$(cat $package)
81+
-o shared=False -o fPIC=True
8282
done
8383
- name: Upload the recipes (dry-run)
8484
if: ${{ github.ref_type == 'branch' && github.ref_name != github.event.repository.default_branch }}

options/boost.options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
all --version 1.86.0
1+
boost/all --version 1.86.0

options/date.options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
all --version=3.0.4 -o header_only=True
1+
date/all --version=3.0.4 -o header_only=True

options/doctest.options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.x.x --version=2.4.11
1+
doctest/2.x.x --version=2.4.11

options/grpc.options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
all --version=1.72.0 -o secure=True
1+
grpc/all --version=1.72.0 -o secure=True

options/libarchive.options

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
all --version=3.8.1 -o with_acl=False \
2-
-o with_bzip2=False \
3-
-o with_cng=False \
4-
-o with_expat=False \
5-
-o with_iconv=False \
6-
-o with_libxml2=False \
7-
-o with_lz4=True \
8-
-o with_lzma=False \
9-
-o with_lzo=False \
10-
-o with_nettle=False \
11-
-o with_openssl=False \
12-
-o with_pcreposix=False \
13-
-o with_xattr=False \
14-
-o with_zlib=False
1+
libarchive/all --version=3.8.1 -o with_acl=False \
2+
-o with_bzip2=False \
3+
-o with_cng=False \
4+
-o with_expat=False \
5+
-o with_iconv=False \
6+
-o with_libxml2=False \
7+
-o with_lz4=True \
8+
-o with_lzma=False \
9+
-o with_lzo=False \
10+
-o with_nettle=False \
11+
-o with_openssl=False \
12+
-o with_pcreposix=False \
13+
-o with_xattr=False \
14+
-o with_zlib=False

options/lz4.options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
all --version=1.10.0
1+
lz4/all --version=1.10.0

options/nudb.options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
all --version=2.0.9
1+
nudb/all --version=2.0.9

options/openssl.options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.x --version=1.1.1w
1+
openssl/1.1.x --version=1.1.1w

options/protobuf.options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
all --version=6.30.1 -o with_zlib=True
1+
protobuf/all --version=6.30.1 -o with_zlib=True

0 commit comments

Comments
 (0)