Skip to content

Commit

Permalink
Create gcc-c.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidstaheli authored Feb 14, 2018
1 parent 4785f37 commit 3ab856b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions templates/ci/gcc-c.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# C with GCC
# Build your C project with GNU GCC.
# https://aka.ms/yaml

queue: 'Hosted Linux'

#variables:
outputFile: 'main'
# system.debug: 'true'

steps:
- script: 'gcc *.c -o $(outputFile)'

- task: CopyFiles@2
displayName: 'Copy artifacts'
inputs:
contents: '$(outputFile)'
targetFolder: '$(build.artifactStagingDirectory)'

- task: PublishBuildArtifacts@1
displayName: 'Publish artifacts'
inputs:
pathToPublish: '$(build.artifactStagingDirectory)'
artifactName: 'artifact'
artifactType: 'container'

0 comments on commit 3ab856b

Please sign in to comment.