File size: 852 Bytes
05c9ac2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pack:
  name: Pack
  agent:
    type: Unity::VM
    image: ml-agents/ml-agents-ubuntu-18.04:latest
    flavor: b1.small
  commands:
    - |
      eval "$($HOME/anaconda/bin/conda shell.bash hook)"
      conda activate python3.8
      python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
      unity-downloader-cli -u 2022.3 -c editor --wait --fast
      ./.Editor/Unity -projectPath Project -batchMode -executeMethod Unity.MLAgents.SampleExporter.ExportCuratedSamples -logFile -
      npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
      upm-ci project pack --project-path Project
  artifacts:
    packages:
      paths:
        - "upm-ci~/packages/**/*"
  triggers:
    cancel_old_ci: true