Skip to content
Snippets Groups Projects
Forked from Alchemy Viewer / Alchemy Viewer
4365 commits behind the upstream repository.
Code owners
.gitlab-ci.yml 14.39 KiB
stages:
  - build
  - upload
 
default:
  interruptible: true
  timeout: 4h

variables:
  BUILD_CHANNEL:
    value: "Test"
    options:
      - "Release"
      - "Beta"
      - "Project"
      - "Test"
    description: "The deployment channel target. Set to 'Test' by default."
  PUBLIC_BUILD:
    value: "FALSE"
    options:
      - "FALSE"
      - "TRUE"
    description: "Are package registry uploads public?. Set to 'TRUE' by default"
  ENABLE_TESTS:
    value: "TRUE"
    options:
      - "FALSE"
      - "TRUE"
    description: "Enable Sentry crash reporting. Set to 'TRUE' by default."
    description: "Enable Discord integrations. Set to 'TRUE' by default."
  ENABLE_LTO:
    value: "TRUE"
    options:
      - "FALSE"
      - "TRUE"
    description: "Enable Link Time Optimization. Set to 'TRUE' by default."
  USE_HAVOK:
    value: "TRUE"
    options:
      - "FALSE"
      - "TRUE"
    description: "Enable Havok integrations. Set to 'TRUE' by default."
  USE_SENTRY:
    value: "TRUE"
    options:
      - "FALSE"
      - "TRUE"
    description: "Enable Sentry crash reporting. Set to 'TRUE' by default."
  USE_DISCORD:
    value: "TRUE"
    options:
      - "FALSE"
      - "TRUE"
  AUTOBUILD_BUILD_ID: $CI_PIPELINE_ID
  AUTOBUILD_GITLAB_TOKEN: $CI_JOB_TOKEN
  AUTOBUILD_INSTALLABLE_CACHE: "$CI_PROJECT_DIR/.cache/autobuild"
  PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"

.win_build:
  stage: build
  tags:
    - autobuild
    - windows
  cache:
    key:
      files:
        - autobuild.xml
      prefix: ${CI_JOB_NAME}
    paths:
      - .cache/autobuild