From 5f5e54315eab16be48815bec48d44d8bb3b813c1 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Thu, 4 Aug 2022 03:54:05 +0200 Subject: [PATCH] ci: rm f4pga-env Signed-off-by: Unai Martinez-Corral --- .github/scripts/f4pga-env | 18 ---------------- .github/workflows/Pipeline.yml | 39 ---------------------------------- 2 files changed, 57 deletions(-) delete mode 100755 .github/scripts/f4pga-env diff --git a/.github/scripts/f4pga-env b/.github/scripts/f4pga-env deleted file mode 100755 index c86724c..0000000 --- a/.github/scripts/f4pga-env +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash - -set -e - -case "$1" in - bin) - ( - cd $(dirname "$0") - pwd - ) - ;; - share) - ( - cd $(dirname "$0")/../share/f4pga - pwd - ) - ;; -esac diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index 0a530bd..1683c08 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -229,42 +229,3 @@ jobs: run: | PYTHONPATH=$(pwd) python3 f4pga/__init__.py PYTHONPATH=$(pwd) python3 f4pga/__init__.py -h - - - f4pga-env: - runs-on: ubuntu-latest - env: - F4PGA_INSTALL_DIR: /opt/f4pga - FPGA_FAM: xc7 - - steps: - - - name: 🧰 Checkout - uses: actions/checkout@v3 - - - name: 🔧 Prepare environment - run: ./.github/scripts/prepare_environment.sh - - - name: 🛠️ Install f4pga-env - run: | - cd ./.github/scripts - . ./envvars.sh - export PATH="${F4PGA_INSTALL_DIR_FAM_ROOT}/bin:$PATH" - . ./activate.sh - - F4PGA_DIR_BIN="$F4PGA_INSTALL_DIR_FAM_ROOT"/bin/ - mkdir -p "$F4PGA_DIR_BIN" - cp f4pga-env "$F4PGA_DIR_BIN" - - cd "$F4PGA_DIR_BIN" - ls -lah - - - name: 🚧 Test f4pga-env - run: | - . ./.github/scripts/activate.sh - - echo "F4PGA_BIN_DIR=$(f4pga-env bin)" >> "$GITHUB_ENV" - echo "F4PGA_SHARE_DIR=$(f4pga-env share)" >> "$GITHUB_ENV" - - - name: 🚧 env - run: env