Skip to content

Instantly share code, notes, and snippets.

@FeodorFitsner
Last active February 24, 2020 17:06
Show Gist options
  • Save FeodorFitsner/ff5c34a72a42d492b900b05917c091e2 to your computer and use it in GitHub Desktop.
Save FeodorFitsner/ff5c34a72a42d492b900b05917c091e2 to your computer and use it in GitHub Desktop.
Windows after Linux chained build jobs
environment:
matrix:
# Linux job
- job_name: Linux build
appveyor_build_worker_image: ubuntu
# Windows job
- job_name: Windows build
job_depends_on: Linux build
appveyor_build_worker_image: Visual Studio 2017
matrix:
fast_finish: true
for:
-
matrix:
only:
- job_name: Linux build
build_script:
- sh: echo "Building on Linux..."
- sh: sleep 5
test: off
-
matrix:
only:
- job_name: Windows build
build_script:
- ps: Write-Host "Building on Windows..."
- ps: Start-Sleep 5
- ps: Write-Host "Deploying"
test: off
@HiImJulien
Copy link

Hey, thanks for your reply!
Made my life easier 👍

Why is this not in the documentations yet, though?

@FeodorFitsner
Copy link
Author

This feature was kind of experimental, but we are definitely going to document it. Glad it worked for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment