Skip to content

Commit

Permalink
Add jom compiler setup
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzE committed Nov 25, 2019
1 parent 4955c08 commit 800b98a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ async function run() {
core.exportVariable('Qt5_Dir', qtPath);
core.addPath(qtPath + "/bin");

// If on windows automatically download and setup jom compiler
if (process.platform == "win32") {
await exec.exec("wget http://download.qt.io/official_releases/jom/jom.zip -OutFile jom.zip")
await exec.exec('expand-archive -path "jom.zip" -destinationpath "$Env:Qt5_Dir\bin"')
}
} catch (error) {
core.setFailed(error.message);
}
Expand Down

0 comments on commit 800b98a

Please sign in to comment.