Skip to content

Commit

Permalink
workflow: add ftd2xx download step for snapshot build
Browse files Browse the repository at this point in the history
Change-Id: If56e0580c766415ccb946c033cec4b9216730ceb
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Jan 25, 2024
1 parent 06cf8f7 commit e1b7bed
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e1b7bed

Please sign in to comment.