Skip to content

Commit

Permalink
CI: Switch to azure ci (#39)
Browse files Browse the repository at this point in the history
* Switch to azure ci

* Only run windows

* Fix whitespace

* Update esy-build-steps.yml

* Remove timeout

* Ensure no intermittency
  • Loading branch information
bryphe authored Nov 8, 2018
1 parent e50dfdb commit aeb9130
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 72 deletions.
13 changes: 13 additions & 0 deletions .ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

name: $(Build.SourceVersion)
jobs:
- job: Windows
timeoutInMinutes: 0
pool:
vmImage: 'vs2017-win2016'
steps:
- template: esy-build-steps.yml
33 changes: 33 additions & 0 deletions .ci/esy-build-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Cross-platform set of build steps for building esy projects

steps:
- task: NodeTool@0
inputs:
versionSpec: '8.9'
- script: npm install -g [email protected]
- script: npm install
- script: npm run build-cygwin
- script: cd re && esy install
- script: cd re && esy build
- script: cd re && esy b dune runtest
- script: npm run test
displayName: "npm run test: before packing"
- script: npm run package-cygwin
- task: PublishBuildArtifacts@1
displayName: 'Release Package'
inputs:
PathtoPublish: '.'
ArtifactName: npm-package
- script: node postinstall.js
displayName: "node postinstall.js (iteration 1)"
- script: npm run test
displayName: "npm run test: after unpack (iteration 1)"
- script: node postinstall.js
displayName: "node postinstall.js (iteration 2)"
- script: npm run test
displayName: "npm run test: after unpack (iteration 2)"
- script: node postinstall.js
displayName: "node postinstall.js (iteration 3)"
- script: npm run test
displayName: "npm run test: after unpack (iteration 3)"

56 changes: 0 additions & 56 deletions appveyor.yml

This file was deleted.

16 changes: 0 additions & 16 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit aeb9130

Please sign in to comment.