From 24777becb91357a8dbade3b1744622d23c2d0da4 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 27 May 2020 16:37:08 +0200 Subject: Plugin Wizard/GitHub: Don't assume jom to be in Qt Creator package It is no longer part of the qtcreator.7z for master/4.13, but instead packaged separately in the installer. Get jom from its own download location. Change-Id: I642da3f560087982612d25d288eb7a960103854b Reviewed-by: Cristian Adam --- .../wizards/qtcreatorplugin/github_workflow_build_qmake.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/templates/wizards/qtcreatorplugin/github_workflow_build_qmake.yml b/share/qtcreator/templates/wizards/qtcreatorplugin/github_workflow_build_qmake.yml index 9cf6aa0782..17ffdfe9bf 100644 --- a/share/qtcreator/templates/wizards/qtcreatorplugin/github_workflow_build_qmake.yml +++ b/share/qtcreator/templates/wizards/qtcreatorplugin/github_workflow_build_qmake.yml @@ -45,6 +45,11 @@ jobs: execute_process( COMMAND sudo apt install libgl1-mesa-dev ) + elseif ("${{ runner.os }}" STREQUAL "Windows") + # get JOM + file(DOWNLOAD "https://download.qt.io/official_releases/jom/jom.zip" ./jom.zip SHOW_PROGRESS) + file(MAKE_DIRECTORY ./jom) + execute_process(COMMAND ${CMAKE_COMMAND} -E tar xvf ../jom.zip WORKING_DIRECTORY ./jom) endif() - name: Download Qt @@ -210,7 +215,7 @@ jobs: set(make_program make -j ${N}) if ("${{ runner.os }}" STREQUAL "Windows") - set(make_program "qtcreator/bin/jom") + set(make_program "jom/jom") endif() execute_process( -- cgit v1.2.1