Skip to content

Commit a1a060e

Browse files
committed
Allow missing binaries as an error
Signed-off-by: Uilian Ries <uilianr@jfrog.com>
1 parent ff7b15c commit a1a060e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/scripts/validate-cci-patch-ng.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,16 @@ for it in $SAMPLE_RECIPES; do
4343
set +e
4444

4545
# Create the package with the specified version
46-
output=$(conan create . --version=${version} --build=missing 2>&1)
46+
output=$(conan create . --version=${version} 2>&1)
4747
# Accept some errors as non-fatal
4848
if [ $? -ne 0 ]; then
4949
echo "WARNING: conan create failed for $recipe_dir"
5050
if echo "$output" | grep -q "ERROR: There are invalid packages"; then
5151
echo "WARNING: Invalid packages found, skipping the build."
5252
elfi echo "$output" | grep -q "ERROR: Version conflict"; then
5353
echo "WARNING: Version conflict, skipping the build."
54+
elfi echo "$output" | grep -q "ERROR: Missing binary"; then
55+
echo "WARNING: Missing binary, skipping the build."
5456
else
5557
echo "ERROR: Fatal error during conan create command execution:"
5658
echo "$output"

0 commit comments

Comments
 (0)