Advertisement
Guest User

Untitled

a guest
Oct 10th, 2019
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.90 KB | None | 0 0
  1. # Starter pipeline
  2. # Start with a minimal pipeline that you can customize to build and deploy your code.
  3. # Add steps that build, run tests, deploy, and more:
  4. # https://aka.ms/yaml
  5.  
  6. trigger:
  7. - master
  8.  
  9. pool:
  10.   vmImage: 'ubuntu-latest'
  11.  
  12. steps:
  13. - script: echo Hello, world!
  14.   displayName: 'Run a one-line script'
  15.  
  16. - script: |
  17.    wget https://ziglang.org/download/0.3.0/zig-linux-x86_64-0.3.0.tar.xz
  18.     wget https://ziglang.org/download/0.4.0/zig-linux-x86_64-0.4.0.tar.xz
  19.     wget https://ziglang.org/download/0.5.0/zig-linux-x86_64-0.5.0.tar.xz
  20.     tar xf zig-linux-x86_64-0.5.0.tar.xz
  21.     tar xf zig-linux-x86_64-0.4.0.tar.xz
  22.     tar xf zig-linux-x86_64-0.3.0.tar.xz
  23.     ls -lah
  24.     ./zig-linux-x86_64-0.3.0/zig test src/maybeuninit.zig
  25.     ./zig-linux-x86_64-0.4.0/zig test src/maybeuninit.zig
  26.     ./zig-linux-x86_64-0.5.0/zig test src/maybeuninit.zig
  27.   displayName: 'Run a multi-line script'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement