From 04bf071beb43836dfc3bbf58f26beb4f9c7a425d Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Thu, 25 Jan 2024 15:49:03 +0800 Subject: [PATCH] workflow: add ftd2xx download step for snapshot build Change-Id: I6b727a5e150cc1433b9fa90b9ae7510886895c71 Signed-off-by: Huaqi Fang <578567190@qq.com> --- .github/workflows/snapshot.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 6b15e4ed9d..b4c34be360 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -16,7 +16,7 @@ jobs: - name: Install needed packages run: | sudo apt-get update - sudo apt-get install autotools-dev autoconf automake libtool pkg-config cmake texinfo texlive g++-mingw-w64-i686 + sudo apt-get install autotools-dev autoconf automake libtool pkg-config cmake texinfo texlive g++-mingw-w64-i686 unzip - name: Checkout Code uses: actions/checkout@v3 - run: ./bootstrap @@ -48,6 +48,16 @@ jobs: wget "https://github.com/aquynh/capstone/archive/${CAPSTONE_VER}.tar.gz" tar -xzf ${CAPSTONE_VER}.tar.gz echo "CAPSTONE_SRC=$PWD/capstone-${CAPSTONE_VER}" >> $GITHUB_ENV + - name: Prepare FTD2xx + env: + FTD2xx_VER: 2.12.36.4 + run: | + mkdir -p $DL_DIR && cd $DL_DIR + FTD2xx_NAME=${FTD2xx_VER} + FTD2xx_FOLDER=ftd2xx-${FTD2xx_VER} + wget "https://ftdichip.com/wp-content/uploads/2023/09/CDM-v${FTD2xx_VER}-WHQL-Certified.zip" + unzip -d ${FTD2xx_FOLDER} CDM-v${FTD2xx_VER}-WHQL-Certified.zip + echo "FTD2xx_SRC=$PWD/${FTD2xx_FOLDER}" >> $GITHUB_ENV - name: Package OpenOCD for windows env: MAKE_JOBS: 2