diff --git a/.github/workflows/build-dep-g2o.yml b/.github/workflows/build-dep-g2o.yml index 4fd4fdf2..81e8c5e3 100644 --- a/.github/workflows/build-dep-g2o.yml +++ b/.github/workflows/build-dep-g2o.yml @@ -12,16 +12,26 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: ilammy/msvc-dev-cmd@v1 - - name: Install QT - run: choco install qt-sdk-windows-x64-msvc2012 + - name: Download QT + run: curl.exe https://download.qt.io/official_releases/qt/5.15/5.15.11/single/qt-everywhere-opensource-src-5.15.11.tar.xz -o qt.tar.xz + + - name: unpack QT + run: tar xJf qt.tar.xz + + - name: unpack QT + working-directory: qt-everywhere-src-5.15.11 + run: ./configure -debug -nomake examples -nomake tests -skip qtwebengine -opensource + + - name: build QT + working-directory: qt-everywhere-src-5.15.11 + run: nmake - name: Run build script working-directory: ${{ github.workspace }}/externals/prebuild_scripts/ run: ./build_g2o_x64.bat - - - name: Archive prebuilt g2o uses: actions/upload-artifact@v3 with: