Last active
February 24, 2020 17:06
-
-
Save FeodorFitsner/ff5c34a72a42d492b900b05917c091e2 to your computer and use it in GitHub Desktop.
Windows after Linux chained build jobs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This feature was kind of experimental, but we are definitely going to document it. Glad it worked for you!