Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Switch to azure ci #39

Merged
merged 7 commits into from
Nov 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.