ci/prepare_environment: update

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2022-03-20 02:34:36 +01:00
parent c42cb59767
commit a7cc3e98d0
1 changed files with 6 additions and 1 deletions

View File

@ -62,7 +62,7 @@ echo '::endgroup::'
cd .. cd ..
echo '::group::🗑️ Remove the wrappers (pre-packaged from arch-defs) and add f4pga-env' echo '::group::Add f4pga-env'
case "$F4PGA_FAM" in case "$F4PGA_FAM" in
xc7) F4PGA_DIR_ROOT='install';; xc7) F4PGA_DIR_ROOT='install';;
@ -71,6 +71,11 @@ esac
F4PGA_DIR_BIN="$F4PGA_INSTALL_DIR_FAM/$F4PGA_DIR_ROOT"/bin/ F4PGA_DIR_BIN="$F4PGA_INSTALL_DIR_FAM/$F4PGA_DIR_ROOT"/bin/
cp $(dirname "$0")/../../f4pga-env "$F4PGA_DIR_BIN" cp $(dirname "$0")/../../f4pga-env "$F4PGA_DIR_BIN"
echo '::endgroup::'
echo '::group::🗑️ Remove the wrappers (pre-packaged from arch-defs)'
cd "$F4PGA_DIR_BIN" cd "$F4PGA_DIR_BIN"
case "$F4PGA_FAM" in case "$F4PGA_FAM" in