Skip to content

Instantly share code, notes, and snippets.

@ioncodes
Last active October 13, 2016 10:08
Show Gist options
  • Save ioncodes/aa16fb487cd764f885a849741eff3e68 to your computer and use it in GitHub Desktop.
Save ioncodes/aa16fb487cd764f885a849741eff3e68 to your computer and use it in GitHub Desktop.
Batch to compile Qt projects via MinGW automatically. Also added the YAML file.
stages:
- build
job:
stage: build
script:
- echo "Release build..."
- C:\Qt\5.7\mingw53_32\bin\qtenv2_gitlab.bat
tags:
except:
- tags
echo off
echo Setting up environment for Qt usage...
set PATH=C:\Qt\5.7\mingw53_32\bin;C:/Qt/Tools/mingw530_32\bin;%PATH%
qmake
mingw32-make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment