run skia-org example from within the skia-safe directory so that we can set the proper features
@@ -67,12 +67,12 @@ jobs:
displayName: Test skia-safe
- ${{ if ne(parameters.platform, 'Windows') }}:
- - script: cargo run --release --features "$(features)" --example skia-org ${BUILD_ARTIFACTSTAGINGDIRECTORY}/skia-org $(exampleArgs)
+ - script: cd skia-safe && cargo run --release --features "$(features)" --example skia-org ${BUILD_ARTIFACTSTAGINGDIRECTORY}/skia-org $(exampleArgs)
displayName: Generate skia-org Example Images
condition: ne(variables['exampleArgs'], '')
- ${{ if eq(parameters.platform, 'Windows') }}:
- - script: cargo run --release --features "$(features)" --example skia-org %BUILD_ARTIFACTSTAGINGDIRECTORY%/skia-org $(exampleArgs)
+ - script: cd skia-safe && cargo run --release --features "$(features)" --example skia-org %BUILD_ARTIFACTSTAGINGDIRECTORY%/skia-org $(exampleArgs)
displayName: Generate skia-org Example Images
condition: ne(variables['exampleArgs'], '')
