CI: install design_introspection before xdc and sdc
diff --git a/.github/workflows/build-and-test.sh b/.github/workflows/build-and-test.sh
index 70741a5..69fd8a7 100755
--- a/.github/workflows/build-and-test.sh
+++ b/.github/workflows/build-and-test.sh
@@ -28,6 +28,11 @@
start_section Building
+if [ "$PLUGIN_NAME" == "xdc" ] || [ "$PLUGIN_NAME" == "sdc" ]; then
+ make design_introspection.so -j`nproc`
+ make install_design_introspection -j`nproc`
+fi
+
export CXXFLAGS=-Werror
make UHDM_INSTALL_DIR=`pwd`/env/conda/envs/yosys-plugins/ ${PLUGIN_NAME}.so -j`nproc`
unset CXXFLAGS