-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
33 lines (31 loc) · 948 Bytes
/
Copy pathazure-pipelines.yml
File metadata and controls
33 lines (31 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
trigger:
- main
pool:
vmImage: windows-latest
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.11'
- script: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r dependencies.txt
python -m pip install pyinstaller
python -m PyInstaller .\src\pygametex\pygametex.spec
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Pipeline.Workspace)/s/dist'
artifact: 'Result'
publishLocation: 'pipeline'
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Pipeline.Workspace)/s/build'
artifact: 'Builddir'
publishLocation: 'pipeline'
# - task: UniversalPackages@0
# inputs:
# command: 'publish'
# publishDirectory: '$(Build.ArtifactStagingDirectory)'
# feedsToUsePublish: 'internal'
# vstsFeedPublish: '5259f689-1d80-4e14-b63b-3d4413015950/e8228bbd-ffe0-4095-ad56-754d1b8b78ea'
# vstsFeedPackagePublish: 'PyGameTex'
# versionOption: 'patch'