ci: move docs build config to main repo (#8137)

This commit is contained in:
André Costa
2025-04-24 23:19:04 +02:00
committed by GitHub
parent caf54430d6
commit e290a11a67
2 changed files with 95 additions and 1 deletions
+11 -1
View File
@@ -26,9 +26,19 @@ else
git checkout "$CURRENT_REF"
fi
cd ..
# Generate lv_conf
LV_CONF_PATH=lvgl/configs/ci/docs/lv_conf_docs.h
cp lvgl/lv_conf_template.h $LV_CONF_PATH
python ./lvgl/scripts/generate_lv_conf.py \
--template lvgl/lv_conf_template.h \
--config $LV_CONF_PATH \
--defaults lvgl/configs/ci/docs/lv_conf_docs.defaults
mkdir cmbuild
cd cmbuild
emcmake cmake .. -DLVGL_CHOSEN_DEMO=lv_example_noop -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
emcmake cmake .. -DLV_CONF_PATH=$LV_CONF_PATH -DLVGL_CHOSEN_DEMO=lv_example_noop -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
emmake make -j$(nproc)
rm -rf CMakeFiles
cd ../..