Skip to content

Commit

Permalink
test with qt5.15 and libftdi1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
lancos committed Mar 24, 2024
1 parent 78729c8 commit 731d62b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
os: Visual Studio 2017
os: Visual Studio 2019

environment:
global:
Expand All @@ -21,24 +21,24 @@ clone_script:
&& git submodule update --init --recursive
install:
- appveyor DownloadFile "https://downloads.sourceforge.net/project/picusb/libftdi1-1.4git_devkit_x86_x64_14June2018.zip?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fpicusb%2Ffiles%2Flibftdi1-1.4git_devkit_x86_x64_14June2018.zip%2Fdownload&ts=1610734013" -FileName "C:\libftdi1-1.4git_devkit_x86_x64_14June2018.zip"
#- appveyor DownloadFile "https://downloads.sourceforge.net/project/picusb/libftdi1-1.5_devkit_x86_x64_19July2020.zip?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fpicusb%2Ffiles%2Flibftdi1-1.5_devkit_x86_x64_19July2020.zip%2Fdownload&ts=1613518002" -FileName "C:\libftdi1-1.5_devkit_x86_x64_19July2020.zip"
- 7z x -y "C:\libftdi1-1.4git_devkit_x86_x64_14June2018.zip" -o"C:\"
#- appveyor DownloadFile "https://downloads.sourceforge.net/project/picusb/libftdi1-1.4git_devkit_x86_x64_14June2018.zip?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fpicusb%2Ffiles%2Flibftdi1-1.4git_devkit_x86_x64_14June2018.zip%2Fdownload&ts=1610734013" -FileName "C:\libftdi1-1.4git_devkit_x86_x64_14June2018.zip"
- appveyor DownloadFile "https://downloads.sourceforge.net/project/picusb/libftdi1-1.5_devkit_x86_x64_19July2020.zip?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fpicusb%2Ffiles%2Flibftdi1-1.5_devkit_x86_x64_19July2020.zip%2Fdownload&ts=1613518002" -FileName "C:\libftdi1-1.5_devkit_x86_x64_19July2020.zip"
- 7z x -y "C:\libftdi1-1.5_devkit_x86_x64_19July2020.zip" -o"C:\"
- if [%PLATFORM%]==[x86_64] set BITS=64
- if [%PLATFORM%]==[x86_64] set EXTRA_OPTS=--disable-32bit
- set QTDIR=C:\Qt\5.9.9\mingw53_32
- set QTDIR=C:\Qt\5.15.2\mingw81_32
- set "INNOPATH=C:\Program Files (x86)\Inno Setup 5"
- set "PATH=%QTDIR%\bin;C:\Qt\Tools\mingw530_32\bin;%PATH%;%INNOPATH%"
- set "PATH=%QTDIR%\bin;C:\Qt\Tools\mingw810_32\bin;%PATH%;%INNOPATH%"

build_script:
- echo %PATH%
- dir "%INNOPATH%"
- dir "C:\libftdi1-1.4git_devkit_x86_x64_14June2018"
- dir "C:\libftdi1-1.5_devkit_x86_x64_19July2020"
- dir "C:\Libraries\boost_1_67_0"
- cmake -E make_directory build
- cd build && cmake -G "MinGW Makefiles" -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="c++" -DCMAKE_MAKE_PROGRAM="mingw32-make" -DUSE_DEBUGGER=OFF -DUSE_QT5=ON -DCMAKE_PREFIX_PATH="C:/libftdi1-1.4git_devkit_x86_x64_14June2018" -DLIBUSB_SKIP_VERSION_CHECK=ON ..
- cd build && cmake -G "MinGW Makefiles" -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="c++" -DCMAKE_MAKE_PROGRAM="mingw32-make" -DUSE_DEBUGGER=OFF -DUSE_QT5=ON -DCMAKE_PREFIX_PATH="C:/libftdi1-1.5_devkit_x86_x64_19July2020" -DLIBUSB_SKIP_VERSION_CHECK=ON ..
- cmake --build . --target all
- cd .. && qmake ponyprog.pro -spec win32-g++ BOOSTPATH=C:/Libraries/boost_1_67_0 FTDIPATH=C:/libftdi1-1.4git_devkit_x86_x64_14June2018
- cd .. && qmake ponyprog.pro -spec win32-g++ BOOSTPATH=C:/Libraries/boost_1_67_0 FTDIPATH=C:/libftdi1-1.5_devkit_x86_x64_19July2020
- mingw32-make -j2
- mingw32-make win32setup
- type ponyprog.bat
Expand Down

0 comments on commit 731d62b

Please sign in to comment.