CI: use variable to force license server connection

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
This commit is contained in:
Karol Gugala 2022-05-18 15:07:16 +02:00 committed by Unai Martinez-Corral
parent bdc6252dbc
commit 871957b74f
2 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,8 @@ jobs:
- name: Xilinx Setup
run: .github/workflows/scripts/xilinx.sh
env:
USE_LICENSE_SERVER: "true"
- name: Build
run: make build --output-sync=target --warn-undefined-variables -j$(nproc)

View File

@ -58,7 +58,7 @@ echo "----------------------------------------"
# them.
echo "xilinx secret"
echo $GHA_SSH_TUNNEL_CONFIG_SECRET_NAME
if [[ ! -z "$GHA_SSH_TUNNEL_CONFIG_SECRET_NAME" ]]; then
if [[ ! -z "$USE_LICENSE_SERVER" ]]; then
echo
echo "Xilinx license server ssh key found, checking the license"