From e1b7bed11ab4e32371e25ca962de853fed6c0af3 Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Thu, 25 Jan 2024 16:07:34 +0800 Subject: [PATCH] workflow: add ftd2xx download step for snapshot build Change-Id: If56e0580c766415ccb946c033cec4b9216730ceb 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..fcb60569b1 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