Skip to content

Commit ea05175

Browse files
committed
Merge branch 'azure-ci'
2 parents 1b6a493 + e616d2a commit ea05175

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

azure-pipelines.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
pool:
2+
vmImage: 'ubuntu-latest'
3+
4+
steps:
5+
- checkout: self
6+
submodules: recursive
7+
8+
- script: sudo apt-get install build-essential gcc-multilib g++-multilib libzip-dev zlib1g lib32z1
9+
displayName: 'Install dependencies'
10+
11+
- script: |
12+
cd ports/gprs_a9
13+
make
14+
displayName: 'Build a9g'
15+
16+
- task: GitHubRelease@0
17+
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
18+
inputs:
19+
gitHubConnection: 'github-pulkin'
20+
repositoryName: 'pulkin/micropython'
21+
action: 'edit'
22+
target: '$(Build.SourceVersion)'
23+
tag: 'a9-dev'
24+
title: '`master`'
25+
releaseNotesSource: 'input'
26+
releaseNotes: 'Latest succesful build of `master`'
27+
assets: 'ports/gprs_a9/hex/firmware_debug_full.lod'
28+
assetUploadMode: 'replace'
29+
isPreRelease: true
30+
addChangeLog: false

0 commit comments

Comments
 (0)