Skip to content

Commit be99b63

Browse files
authored
Merge pull request #9473 from oech3/ci-l10n-small
l10n.yml: Use PROFILE=release-small for faster CI
2 parents 296a336 + c8e619a commit be99b63

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/l10n.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -453,22 +453,22 @@ jobs:
453453
454454
# First check if binary exists after build
455455
echo "Checking if coreutils was built..."
456-
ls -la target/release/coreutils || echo "No coreutils binary in target/release/"
456+
ls -la target/release-small/coreutils || echo "No coreutils binary in target/release-small/"
457457
458-
make FEATURES="${{ matrix.job.features }}" PROFILE=release MULTICALL=y
458+
make FEATURES="${{ matrix.job.features }}" PROFILE=release-small MULTICALL=y
459459
460-
echo "After build, checking target/release/:"
461-
ls -la target/release/ | grep -E "(coreutils|^total)" || echo "Build may have failed"
460+
echo "After build, checking target/release-small/:"
461+
ls -la target/release-small/ | grep -E "(coreutils|^total)" || echo "Build may have failed"
462462
463463
echo "Running make install..."
464464
echo "Before install - checking what we have:"
465-
ls -la target/release/coreutils 2>/dev/null || echo "No coreutils in target/release"
465+
ls -la target/release-small/coreutils 2>/dev/null || echo "No coreutils in target/release-small"
466466
467467
# Run make install with verbose output to see what happens
468-
echo "About to run: make install DESTDIR=\"$INSTALL_DIR\" PREFIX=/usr PROFILE=release MULTICALL=y"
468+
echo "About to run: make install DESTDIR=\"$INSTALL_DIR\" PREFIX=/usr PROFILE=release-small MULTICALL=y"
469469
echo "Expected install path: $INSTALL_DIR/usr/bin/coreutils"
470470
471-
make install DESTDIR="$INSTALL_DIR" PREFIX=/usr PROFILE=release MULTICALL=y || {
471+
make install DESTDIR="$INSTALL_DIR" PREFIX=/usr PROFILE=release-small MULTICALL=y || {
472472
echo "Make install failed! Exit code: $?"
473473
echo "Let's see what happened:"
474474
ls -la "$INSTALL_DIR" 2>/dev/null || echo "Install directory doesn't exist"
@@ -482,13 +482,13 @@ jobs:
482482
echo "Current directory: $(pwd)"
483483
echo "INSTALL_DIR: $INSTALL_DIR"
484484
echo "Checking if build succeeded..."
485-
if [ -f "target/release/coreutils" ]; then
486-
echo "✓ Build succeeded - coreutils binary exists in target/release/"
487-
ls -la target/release/coreutils
485+
if [ -f "target/release-small/coreutils" ]; then
486+
echo "✓ Build succeeded - coreutils binary exists in target/release-small/"
487+
ls -la target/release-small/coreutils
488488
else
489-
echo "✗ Build failed - no coreutils binary in target/release/"
490-
echo "Contents of target/release/:"
491-
ls -la target/release/ | head -20
489+
echo "✗ Build failed - no coreutils binary in target/release-small/"
490+
echo "Contents of target/release-small/:"
491+
ls -la target/release-small/ | head -20
492492
exit 1
493493
fi
494494
@@ -600,8 +600,8 @@ jobs:
600600
mkdir -p "$MAKE_INSTALL_DIR"
601601
602602
# Build and install using make with DESTDIR
603-
make FEATURES="${{ matrix.job.features }}" PROFILE=release MULTICALL=y
604-
make install DESTDIR="$MAKE_INSTALL_DIR" PREFIX=/usr PROFILE=release MULTICALL=y
603+
make FEATURES="${{ matrix.job.features }}" PROFILE=release-small MULTICALL=y
604+
make install DESTDIR="$MAKE_INSTALL_DIR" PREFIX=/usr PROFILE=release-small MULTICALL=y
605605
606606
# Verify installation
607607
echo "Testing make-installed binaries..."
@@ -928,8 +928,8 @@ jobs:
928928
mkdir -p "$INSTALL_DIR"
929929
930930
# Build and install using make with DESTDIR
931-
make FEATURES="feat_os_unix" PROFILE=release MULTICALL=y
932-
make install DESTDIR="$INSTALL_DIR" PREFIX=/usr PROFILE=release MULTICALL=y
931+
make FEATURES="feat_os_unix" PROFILE=release-small MULTICALL=y
932+
make install DESTDIR="$INSTALL_DIR" PREFIX=/usr PROFILE=release-small MULTICALL=y
933933
934934
# Debug: Show what was installed
935935
echo "Contents of installation directory:"
@@ -1109,8 +1109,8 @@ jobs:
11091109
11101110
# Clean and build standard version
11111111
make clean
1112-
make FEATURES="feat_os_unix" PROFILE=release MULTICALL=y
1113-
make install DESTDIR="$STANDARD_BUILD_INSTALL_DIR" PREFIX=/usr PROFILE=release MULTICALL=y
1112+
make FEATURES="feat_os_unix" PROFILE=release-small MULTICALL=y
1113+
make install DESTDIR="$STANDARD_BUILD_INSTALL_DIR" PREFIX=/usr PROFILE=release-small MULTICALL=y
11141114
11151115
# Verify standard build binary works
11161116
if "$STANDARD_BUILD_INSTALL_DIR/usr/bin/coreutils" --version >/dev/null 2>&1; then

0 commit comments

Comments
 (0)