Skip to content
Snippets Groups Projects
Commit 55de2468 authored by Helen Koike's avatar Helen Koike
Browse files

wip: without W=1, double compiling is not required

parent 6f89a0dd
No related branches found
No related tags found
No related merge requests found
Pipeline #86261 waiting for manual action
......@@ -9,21 +9,9 @@ source ci/gitlab-ci/ci-scripts/ici-functions.sh
ici_prepare_build
ici_get_patch_series_size
# Get the list of modified files in the last $ICI_PATCH_SERIES_SIZE commits
MODIFIED_FILES=$(git diff HEAD~$ICI_PATCH_SERIES_SIZE HEAD --name-only)
pushd build
# compile the entire kernel
make CF=-D__CHECK_ENDIAN__ -C "$ICI_KERNEL_DIR" O=$(pwd) -j$(nproc)
for file in $MODIFIED_FILES; do
touch -c ../"$file"
done
# TODO: add W=1 once build errors are fixed
make CF=-D__CHECK_ENDIAN__ -C "$ICI_KERNEL_DIR" O=$(pwd) -j$(nproc) 2>&1 | tee output.txt
export INSTALL_PATH="${CI_PROJECT_DIR}/artifacts/kernel-install-${KCI_KERNEL_ARCH}-${KCI_DEFCONFIG}_config"
......@@ -44,9 +32,3 @@ if grep -iq "warning" output.txt; then
fi
popd
if [ -n "$ICI_UNABLE_TO_DETECT_PATCH_SERIES_SIZE" ]; then
# If the patch series size was not detected, exit with a warning
echo "The patch series size was not detected, we probably didn't check the whole series. Exiting with a warning."
exit 101
fi
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment