mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #9473 from oech3/ci-l10n-small
l10n.yml: Use PROFILE=release-small for faster CI
This commit is contained in:
+19
-19
@@ -453,22 +453,22 @@ jobs:
|
||||
|
||||
# First check if binary exists after build
|
||||
echo "Checking if coreutils was built..."
|
||||
ls -la target/release/coreutils || echo "No coreutils binary in target/release/"
|
||||
ls -la target/release-small/coreutils || echo "No coreutils binary in target/release-small/"
|
||||
|
||||
make FEATURES="${{ matrix.job.features }}" PROFILE=release MULTICALL=y
|
||||
make FEATURES="${{ matrix.job.features }}" PROFILE=release-small MULTICALL=y
|
||||
|
||||
echo "After build, checking target/release/:"
|
||||
ls -la target/release/ | grep -E "(coreutils|^total)" || echo "Build may have failed"
|
||||
echo "After build, checking target/release-small/:"
|
||||
ls -la target/release-small/ | grep -E "(coreutils|^total)" || echo "Build may have failed"
|
||||
|
||||
echo "Running make install..."
|
||||
echo "Before install - checking what we have:"
|
||||
ls -la target/release/coreutils 2>/dev/null || echo "No coreutils in target/release"
|
||||
ls -la target/release-small/coreutils 2>/dev/null || echo "No coreutils in target/release-small"
|
||||
|
||||
# Run make install with verbose output to see what happens
|
||||
echo "About to run: make install DESTDIR=\"$INSTALL_DIR\" PREFIX=/usr PROFILE=release MULTICALL=y"
|
||||
echo "About to run: make install DESTDIR=\"$INSTALL_DIR\" PREFIX=/usr PROFILE=release-small MULTICALL=y"
|
||||
echo "Expected install path: $INSTALL_DIR/usr/bin/coreutils"
|
||||
|
||||
make install DESTDIR="$INSTALL_DIR" PREFIX=/usr PROFILE=release MULTICALL=y || {
|
||||
make install DESTDIR="$INSTALL_DIR" PREFIX=/usr PROFILE=release-small MULTICALL=y || {
|
||||
echo "Make install failed! Exit code: $?"
|
||||
echo "Let's see what happened:"
|
||||
ls -la "$INSTALL_DIR" 2>/dev/null || echo "Install directory doesn't exist"
|
||||
@@ -482,13 +482,13 @@ jobs:
|
||||
echo "Current directory: $(pwd)"
|
||||
echo "INSTALL_DIR: $INSTALL_DIR"
|
||||
echo "Checking if build succeeded..."
|
||||
if [ -f "target/release/coreutils" ]; then
|
||||
echo "✓ Build succeeded - coreutils binary exists in target/release/"
|
||||
ls -la target/release/coreutils
|
||||
if [ -f "target/release-small/coreutils" ]; then
|
||||
echo "✓ Build succeeded - coreutils binary exists in target/release-small/"
|
||||
ls -la target/release-small/coreutils
|
||||
else
|
||||
echo "✗ Build failed - no coreutils binary in target/release/"
|
||||
echo "Contents of target/release/:"
|
||||
ls -la target/release/ | head -20
|
||||
echo "✗ Build failed - no coreutils binary in target/release-small/"
|
||||
echo "Contents of target/release-small/:"
|
||||
ls -la target/release-small/ | head -20
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -600,8 +600,8 @@ jobs:
|
||||
mkdir -p "$MAKE_INSTALL_DIR"
|
||||
|
||||
# Build and install using make with DESTDIR
|
||||
make FEATURES="${{ matrix.job.features }}" PROFILE=release MULTICALL=y
|
||||
make install DESTDIR="$MAKE_INSTALL_DIR" PREFIX=/usr PROFILE=release MULTICALL=y
|
||||
make FEATURES="${{ matrix.job.features }}" PROFILE=release-small MULTICALL=y
|
||||
make install DESTDIR="$MAKE_INSTALL_DIR" PREFIX=/usr PROFILE=release-small MULTICALL=y
|
||||
|
||||
# Verify installation
|
||||
echo "Testing make-installed binaries..."
|
||||
@@ -928,8 +928,8 @@ jobs:
|
||||
mkdir -p "$INSTALL_DIR"
|
||||
|
||||
# Build and install using make with DESTDIR
|
||||
make FEATURES="feat_os_unix" PROFILE=release MULTICALL=y
|
||||
make install DESTDIR="$INSTALL_DIR" PREFIX=/usr PROFILE=release MULTICALL=y
|
||||
make FEATURES="feat_os_unix" PROFILE=release-small MULTICALL=y
|
||||
make install DESTDIR="$INSTALL_DIR" PREFIX=/usr PROFILE=release-small MULTICALL=y
|
||||
|
||||
# Debug: Show what was installed
|
||||
echo "Contents of installation directory:"
|
||||
@@ -1109,8 +1109,8 @@ jobs:
|
||||
|
||||
# Clean and build standard version
|
||||
make clean
|
||||
make FEATURES="feat_os_unix" PROFILE=release MULTICALL=y
|
||||
make install DESTDIR="$STANDARD_BUILD_INSTALL_DIR" PREFIX=/usr PROFILE=release MULTICALL=y
|
||||
make FEATURES="feat_os_unix" PROFILE=release-small MULTICALL=y
|
||||
make install DESTDIR="$STANDARD_BUILD_INSTALL_DIR" PREFIX=/usr PROFILE=release-small MULTICALL=y
|
||||
|
||||
# Verify standard build binary works
|
||||
if "$STANDARD_BUILD_INSTALL_DIR/usr/bin/coreutils" --version >/dev/null 2>&1; then
|
||||
|
||||
Reference in New Issue
Block a user