Skip to content

Commit

Permalink
Update azure-pipelines-photino.native-dev.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeYeager committed Jun 23, 2022
1 parent 711cf61 commit 1898b2e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions azure-pipelines-photino.native-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
imageName: 'ubuntu-latest'
rid: 'linux-x64'
mac-intel:
imageName: 'macos-latest'
rid: 'osx-x64'
imageName: 'macos-12'
rid: 'osx.12-x64'
mac-arm64:
imagename: 'macos-12'
rid: 'osx.12-arm64'
Expand Down Expand Up @@ -78,14 +78,14 @@ jobs:

- task: CmdLine@2
displayName: 'Create output folder for macOS-intel'
condition: eq(variables.rid, 'osx-x64')
condition: eq(variables.rid, 'osx.12-x64')
inputs:
workingDirectory: '.'
script: 'mkdir -p ./x64/$(buildConfiguration)'

- task: CmdLine@2
displayName: 'Build macOS-intel native assets'
condition: eq(variables.rid, 'osx-x64')
condition: eq(variables.rid, 'osx.12-x64')
inputs:
workingDirectory: '.'
script: 'make mac-dev && mv ./lib/dev/Photino.Native.dylib ./x64/$(buildConfiguration)/Photino.Native.dylib'
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:

- task: PublishPipelineArtifact@1
displayName: 'Publish Photino.Native.dylib (macOS) to artifacts'
condition: eq(variables.rid, 'osx-x64')
condition: eq(variables.rid, 'osx.12-x64')
inputs:
targetPath: './x64/$(buildConfiguration)/Photino.Native.dylib'
artifactName: 'Photino.Native.dylib'
Expand Down

0 comments on commit 1898b2e

Please sign in to comment.