-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch to azure ci * Only run windows * Fix whitespace * Update esy-build-steps.yml * Remove timeout * Ensure no intermittency
- Loading branch information
Showing
4 changed files
with
46 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.