temporal removal of QT, testing resulting path

This commit is contained in:
Mateo Pidal
2021-05-05 21:41:55 -03:00
committed by GitHub
parent e3555c0440
commit c04fd2d85f

View File

@@ -29,48 +29,7 @@ jobs:
with:
fetch-depth: 1
- name: Cache Qt Installed
uses: actions/cache@v2.1.5
id: qt-cached
with:
# A list of files, directories, and wildcard patterns to cache and restore
path: "C:/Users/runneradmin/Qt"
# An explicit key for restoring and saving the cache
key: ${{ runner.os }}-qt56-installed
- name: Cache Qt Installer
uses: actions/cache@v2.1.5
if: steps.qt-cached.outputs.cache-hit != 'true'
id: installer-cached
with:
# A list of files, directories, and wildcard patterns to cache and restore
path: "installer.exe"
# An explicit key for restoring and saving the cache
key: ${{ runner.os }}-qt56-installer
- name: Creates QtAccount File
uses: DamianReeves/write-file-action@v1.0
if: steps.qt-cached.outputs.cache-hit != 'true'
with:
# The path to the file to write
path: "%APPDATA%\\Qt"
# The contents of the file
contents: ${{ secrets.QTACCOUNT }}
- name: Download Qt Installer
if: steps.installer-cached.outputs.cache-hit != 'true' && steps.qt-cached.outputs.cache-hit != 'true'
run: |
curl https://download.qt.io/new_archive/qt/5.6/5.6.3/qt-opensource-windows-x86-mingw492-5.6.3.exe --output installer.exe
- name: Download Qt non-Interactive Script
run: |
curl https://gist.githubusercontent.com/PibePlayer/cf6bd0a9f7e4d51e3e618ceedfba4b94/raw/198ecd6e3a090c75a96a03a4582d8a41a0f0be83/qt-installer-noninteractive.qs --output nonInteractive.qs
- name: Install Qt 5.6.3
if: steps.qt-cached.outputs.cache-hit != 'true'
shell: cmd
run: |
installer.exe -v --script nonInteractive.qs --silent
- name: Setup CMake
run: |
@@ -86,3 +45,12 @@ jobs:
- name: Setup zlib
run: |
mkdir zlib && curl https://razaoinfo.dl.sourceforge.net/project/gnuwin32/zlib/1.2.3/zlib-1.2.3-bin.zip -o zlib.zip && unzip zlib.zip && cd .. && pwd
- name: Setup PATH
shell: cmd
run: |
set PATH=C:\Users\runneradmin\Qt\Qt5.6.0\5.6\mingw49_32\bin;C:\Users\runneradmin\Qtr\Qt5.6.0\Tools\mingw492_32\bin;%PATH%
set PATH=%CD%\zlib;%CD%\zlib\bin;%PATH%
set PATH=C:\hostedtoolcache\windows\Java_Zulu_jdk\8.0.292-10\x86\bin;%PATH%
java --version
cmake --version