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: I6b727a5e150cc1433b9fa90b9ae7510886895c71
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Jan 25, 2024
1 parent e0cc4e5 commit 04bf071
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 04bf071

Please sign in to comment.