File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 1- # This workflow will run build an AS project and publish the libraries to the github package registry
2-
1+ # This workflow will run build an AS project and save the libraries to a pipeline artifact
32trigger :
43 branches :
54 include :
@@ -11,9 +10,9 @@ trigger:
1110jobs :
1211- job : build_publish_libraries
1312 pool :
14- name : ' AutomationStudioPool' # Specify your custom agent pool name here
13+ name : ' AutomationStudioPool'
1514 steps :
16- - checkout : self # Required as first property. Configures checkout for the specified repository.
15+ - checkout : self
1716 clean : true
1817 fetchDepth : 0
1918 fetchTags : true
@@ -22,19 +21,18 @@ jobs:
2221 submodules : recursive
2322 path : " main"
2423 displayName : ' Checkout repository'
25- # - script: |
26- # cd ./main
27- # git lfs pull
28- # displayName: 'Fix LFS'
24+
2925 - script : python.exe C:/Tools/AsPython/InstallUpgrades.py $(Build.SourcesDirectory)/upgrades -asp AS411 -r --logLevel DEBUG
3026 displayName : ' Install AS upgrades'
27+
3128 - script : python.exe C:/Tools/AsPython/CmdLineBuild.py $(Build.SourcesDirectory)/example/AsProject/AsProject.apj -c Intel ARM -bm Rebuild -sim --logLevel DEBUG
3229 displayName : ' Build project'
30+
3331 - script : python.exe C:/Tools/AsPython/CmdLineExportLib.py $(Build.SourcesDirectory)/example/AsProject/AsProject.apj -dest ./libs -c Intel ARM -wl vartools -l DEBUG -o -bm "None"
3432 displayName : ' Export libraries'
35- - script : |
33+
3634 - task : PublishPipelineArtifact@1
3735 inputs :
38- targetPath : ' $(Pipeline.Workspace)/libs/vartools'
36+ targetPath : ' $(Pipeline.Workspace)/main/ libs/vartools'
3937 artifact : ' vartools'
4038 publishLocation : ' pipeline'
You can’t perform that action at this time.
0 commit comments