Skip to content

Commit 04bf071

Browse files
committed
workflow: add ftd2xx download step for snapshot build
Change-Id: I6b727a5e150cc1433b9fa90b9ae7510886895c71 Signed-off-by: Huaqi Fang <[email protected]>
1 parent e0cc4e5 commit 04bf071

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/snapshot.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install needed packages
1717
run: |
1818
sudo apt-get update
19-
sudo apt-get install autotools-dev autoconf automake libtool pkg-config cmake texinfo texlive g++-mingw-w64-i686
19+
sudo apt-get install autotools-dev autoconf automake libtool pkg-config cmake texinfo texlive g++-mingw-w64-i686 unzip
2020
- name: Checkout Code
2121
uses: actions/checkout@v3
2222
- run: ./bootstrap
@@ -48,6 +48,16 @@ jobs:
4848
wget "https://github.com/aquynh/capstone/archive/${CAPSTONE_VER}.tar.gz"
4949
tar -xzf ${CAPSTONE_VER}.tar.gz
5050
echo "CAPSTONE_SRC=$PWD/capstone-${CAPSTONE_VER}" >> $GITHUB_ENV
51+
- name: Prepare FTD2xx
52+
env:
53+
FTD2xx_VER: 2.12.36.4
54+
run: |
55+
mkdir -p $DL_DIR && cd $DL_DIR
56+
FTD2xx_NAME=${FTD2xx_VER}
57+
FTD2xx_FOLDER=ftd2xx-${FTD2xx_VER}
58+
wget "https://ftdichip.com/wp-content/uploads/2023/09/CDM-v${FTD2xx_VER}-WHQL-Certified.zip"
59+
unzip -d ${FTD2xx_FOLDER} CDM-v${FTD2xx_VER}-WHQL-Certified.zip
60+
echo "FTD2xx_SRC=$PWD/${FTD2xx_FOLDER}" >> $GITHUB_ENV
5161
- name: Package OpenOCD for windows
5262
env:
5363
MAKE_JOBS: 2

0 commit comments

Comments
 (0)