88 branches :
99 - master
1010env :
11- QT_VERSION : 6.7.2
11+ QT_VERSION : 6.11.1
1212 OPENCV_VERSION : 4.10.0
1313
1414jobs :
1818 - uses : actions/checkout@v2
1919 - uses : actions/setup-python@v2
2020 with :
21- python-version : ' 3.8 '
21+ python-version : ' 3.11 '
2222 - name : install_qt6
2323 run : |
2424 sudo apt-get update
4343 - uses : actions/checkout@v2
4444 - uses : actions/setup-python@v2
4545 with :
46- python-version : ' 3.8 '
46+ python-version : ' 3.11 '
4747 - name : install_qt6
4848 run : |
4949 choco uninstall mingw
5252 python3 -m aqt install-tool -O ${{ github.workspace }}/Qt/ windows desktop tools_mingw1310
5353 echo "${{ github.workspace }}/Qt/${{ env.QT_VERSION }}/mingw_64/bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
5454 echo "${{ github.workspace }}/Qt/Tools/mingw1310_64/bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
55+ echo "CMAKE_PREFIX_PATH=${{ github.workspace }}/Qt/${{ env.QT_VERSION }}/mingw_64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
56+ echo "Qt6_DIR=${{ github.workspace }}/Qt/${{ env.QT_VERSION }}/mingw_64/lib/cmake/Qt6" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
5557 - name : install_opencv
5658 run : |
5759 choco install wget unzip cmake git
@@ -81,15 +83,10 @@ jobs:
8183 test_mac :
8284 runs-on : macos-latest
8385 steps :
84- - uses : actions/checkout@v2
85- - uses : actions/setup-python@v2
86+ - uses : actions/setup-python@v5
8687 with :
87- python-version : ' 3.8'
88- - name : install_qt6
89- run : |
90- pip install aqtinstall
91- python3 -m aqt install-qt -m qtcharts -O ${{ github.workspace }}/Qt/ mac desktop ${{ env.QT_VERSION }}
92- echo ${{ github.workspace }}/Qt/${{ env.QT_VERSION }}/macos/bin/ >> $GITHUB_PATH
88+ python-version : ' 3.11'
89+ - uses : actions/checkout@v2
9390 - name : Set up Homebrew # https://github.com/Homebrew/homebrew-cask/issues/150323
9491 id : set-up-homebrew
9592 uses : Homebrew/actions/setup-homebrew@master
10198 rm -f /usr/local/bin/python3*
10299 rm -f /usr/local/opt/go/bin/go*
103100 rm -f /usr/local/bin/go*
101+ brew uninstall --ignore-dependencies qt@6 || true
104102 brew update -q -f
105103 brew upgrade -q -f
106104 brew install pkg-config
@@ -110,6 +108,12 @@ jobs:
110108 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
111109 python -m pip install --upgrade pip setuptools wheel
112110 python -m pip install numpy pandas pytest
111+ - name : install_qt6
112+ run : |
113+ python -m pip install aqtinstall
114+ python -m aqt install-qt -m qtcharts -O ${{ github.workspace }}/Qt/ mac desktop ${{ env.QT_VERSION }}
115+ echo ${{ github.workspace }}/Qt/${{ env.QT_VERSION }}/macos/bin/ >> $GITHUB_PATH
113116 - name : test_ft
114117 run : |
118+ export CMAKE_PREFIX_PATH="${{ github.workspace }}/Qt/${{ env.QT_VERSION }}/macos:$CMAKE_PREFIX_PATH"
115119 ./test.sh unix
0 commit comments