stages:
  - build
  
variables:
  BUILD_TYPE: "RC"

Windows Installer:
  stage: build
  image: sypingauto/gta5view-build:1.8-shared
  variables:
    BUILD_SCRIPT: "wininstall_build.sh"
    QT_SELECT: "qt5-x86_64-w64-mingw32"
  script:
    - .gitlab/gitlab.sh
  artifacts:
    name: "gta5view-$CI_COMMIT_REF_NAME-${CI_COMMIT_SHA:0:8}_setup"
    paths:
      - "gta5view-*.exe"

Windows Portable:
  stage: build
  image: sypingauto/gta5view-build:1.8-static
  variables:
    BUILD_SCRIPT: "windows_build.sh"
    QT_SELECT: "qt5-x86_64-w64-mingw32"
  script:
    - .gitlab/gitlab.sh
  artifacts:
    name: "gta5view-$CI_COMMIT_REF_NAME-${CI_COMMIT_SHA:0:8}_portable"
    paths:
      - "gta5view-*.exe"
