Skip to content

Commit

Permalink
Extend the build process to gather all the files for the collected ar…
Browse files Browse the repository at this point in the history
…chived binaries.
  • Loading branch information
rt121212121 committed Jun 1, 2021
1 parent 5417f74 commit becb40a
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
34 changes: 33 additions & 1 deletion .azure-pipelines/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,22 @@ jobs:
cd tests
python3 -m pytest -v -v -v .
displayName: Install from wheel and run tests
- task: CopyFiles@2
inputs:
sourceFolder: contrib/archive-extras
contents: |
README.txt
targetFolder: $(Build.ArtifactStagingDirectory)
flattenFolders: true
OverWrite: true
- task: CopyFiles@2
inputs:
sourceFolder: $(BSV_BUILD_PATH)
contents: |
LICENSE
targetFolder: $(Build.ArtifactStagingDirectory)
flattenFolders: true
OverWrite: true
- task: CopyFiles@2
inputs:
sourceFolder: $(BSV_BUILD_PATH)/src
Expand Down Expand Up @@ -147,12 +163,28 @@ jobs:
py -3 -m pip install --upgrade pip
py -3 -m pip install cibuildwheel==1.6.4
py -3 -m cibuildwheel --output-dir wheelhouse .
displayName: Build Bitcoin SV (autotools) / Python packaging
displayName: Build Bitcoin SV (msvc/cmake) / Python packaging
continueOnError: false
- task: PublishBuildArtifacts@1
inputs:
artifactName: 'Python packages - Windows'
pathtoPublish: 'wheelhouse'
- task: CopyFiles@2
inputs:
sourceFolder: contrib\archive-extras
contents: |
README.txt
targetFolder: $(Build.ArtifactStagingDirectory)
flattenFolders: true
OverWrite: true
- task: CopyFiles@2
inputs:
sourceFolder: $(BSV_BUILD_PATH)\build
contents: |
LICENSE
targetFolder: $(Build.ArtifactStagingDirectory)
flattenFolders: true
OverWrite: true
- task: CopyFiles@2
inputs:
sourceFolder: $(BSV_BUILD_PATH)\build\src\$(BSV_BUILD_TYPE)
Expand Down
11 changes: 11 additions & 0 deletions contrib/archive-extras/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
The ElectrumSV node project
===========================

These are executable binaries for the Bitcoin SV node. They are non-production binaries
intended for use by developers working on this platform, to assist in their development efforts.
Or for projects to use a node in their CI process to test their functionality.

You can read more about these files, including instructions on how to use them, within our
documentation:

https://electrumsv-node.readthedocs.io/en/latest/

0 comments on commit becb40a

Please sign in to comment.