Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
c34c8b0a
Unverified
Commit
c34c8b0a
authored
Nov 29, 2017
by
Jeremy Bokobza
Committed by
GitHub
Nov 29, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #372 from bokobza/master
build caches and portable package names
parents
bd39b922
c28ab058
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
33 deletions
+35
-33
.travis.yml
.travis.yml
+6
-2
electron-builder.json
Breeze.UI/electron-builder.json
+7
-0
README.md
README.md
+9
-12
appveyor.yml
appveyor.yml
+7
-15
build.sh
build.sh
+6
-4
No files found.
.travis.yml
View file @
c34c8b0a
...
@@ -7,10 +7,8 @@ matrix:
...
@@ -7,10 +7,8 @@ matrix:
dist
:
trusty
dist
:
trusty
sudo
:
required
sudo
:
required
dotnet
:
2.0.0
dotnet
:
2.0.0
env
:
os_identifier=ubuntu.14.04
-
os
:
osx
# OSX 10.12
-
os
:
osx
# OSX 10.12
osx_image
:
xcode9
osx_image
:
xcode9
env
:
os_identifier=osx.10.12
before_install
:
before_install
:
-
brew update
-
brew update
-
curl https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
-
curl https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
...
@@ -32,6 +30,12 @@ env:
...
@@ -32,6 +30,12 @@ env:
-
configuration=Release
-
configuration=Release
-
os_platform=linux
-
os_platform=linux
cache
:
directories
:
-
${TRAVIS_BUILD_DIR}/Breeze.UI/node_modules
-
$HOME/.nuget/packages
-
/usr/share/dotnet/sdk/2.0.0/
# Work around NuGet issue #2163
# Work around NuGet issue #2163
# https://github.com/NuGet/Home/issues/2163
# https://github.com/NuGet/Home/issues/2163
# https://github.com/travis-ci/travis-ci/issues/7728
# https://github.com/travis-ci/travis-ci/issues/7728
...
...
Breeze.UI/electron-builder.json
View file @
c34c8b0a
...
@@ -12,6 +12,13 @@
...
@@ -12,6 +12,13 @@
"icon"
:
"dist/assets/images/breeze-logo"
,
"icon"
:
"dist/assets/images/breeze-logo"
,
"target"
:
[
"nsis"
]
"target"
:
[
"nsis"
]
},
},
"linux"
:
{
"target"
:
[
"deb"
,
"tar.gz"
],
"category"
:
"Utility"
},
"nsis"
:
{
"nsis"
:
{
"oneClick"
:
false
,
"oneClick"
:
false
,
"perMachine"
:
true
,
"perMachine"
:
true
,
...
...
README.md
View file @
c34c8b0a
...
@@ -52,17 +52,14 @@ If you want the :sparkles: latest :sparkles: (unstable :bomb:) version of the Br
...
@@ -52,17 +52,14 @@ If you want the :sparkles: latest :sparkles: (unstable :bomb:) version of the Br
| | x86 Release | x64 Release | Notes |
| | x86 Release | x64 Release | Notes |
|:---|----------------:|------------------:|------------------:|
|:---|----------------:|------------------:|------------------:|
|
**Windows 7**
|
[
download
][
7
]
|
[
download
][
8
]
| continuous build - up to date with commits |
|
**Windows**
|
[
download
][
7
]
|
[
download
][
8
]
| Windows 7 and Windows 10 |
|
**Windows 10**
|
[
download
][
9
]
|
[
download
][
10
]
| continuous build - up to date with commits |
|
**Linux**
| - |
[
download
][
9
]
| All Linux flavors |
|
**Ubuntu 14.04**
| - |
[
download
][
11
]
| continuous build - up to date with commits |
|
**OS X**
| - |
[
download
][
10
]
| From OSX 10.12 |
|
**OS X 10.12**
| - |
[
download
][
12
]
| continuous build - up to date with commits |
[
7
]:
https://github.com/stratisproject/Breeze/releases/download/cd-unstable/Breeze.Wallet.v0.3.0.setup.win-x86.exe
[
7
]:
https://github.com/stratisproject/Breeze/releases/download/cd-unstable/Breeze.Wallet.v0.3.0.setup.win7-x86.exe
[
8
]:
https://github.com/stratisproject/Breeze/releases/download/cd-unstable/Breeze.Wallet.v0.3.0.setup.win-x64.exe
[
8
]:
https://github.com/stratisproject/Breeze/releases/download/cd-unstable/Breeze.Wallet.v0.3.0.setup.win7-x64.exe
[
9
]:
https://github.com/stratisproject/Breeze/releases/download/cd-unstable/breeze-linux-x64.zip
[
9
]:
https://github.com/stratisproject/Breeze/releases/download/cd-unstable/Breeze.Wallet.v0.3.0.setup.win10-x86.exe
[
10
]:
https://github.com/stratisproject/Breeze/releases/download/cd-unstable/breeze-osx-x64.zip
[
10
]:
https://github.com/stratisproject/Breeze/releases/download/cd-unstable/Breeze.Wallet.v0.3.0.setup.win10-x64.exe
[
11
]:
https://github.com/stratisproject/Breeze/releases/download/cd-unstable/breeze-ubuntu.14.04-x64-Release.zip
[
12
]:
https://github.com/stratisproject/Breeze/releases/download/cd-unstable/breeze-osx.10.12-x64-Release.zip
appveyor.yml
View file @
c34c8b0a
...
@@ -20,7 +20,6 @@ branches:
...
@@ -20,7 +20,6 @@ branches:
image
:
Visual Studio 2017
image
:
Visual Studio 2017
clone_folder
:
c:\projects\breeze
clone_folder
:
c:\projects\breeze
configuration
:
configuration
:
# - Debug
-
Release
-
Release
build
:
build
:
...
@@ -28,25 +27,21 @@ build:
...
@@ -28,25 +27,21 @@ build:
environment
:
environment
:
matrix
:
matrix
:
-
win_runtime
:
win
7
-x64
-
win_runtime
:
win-x64
arch
:
x64
arch
:
x64
plat
:
win32
plat
:
win32
-
win_runtime
:
win7-x86
-
win_runtime
:
win-x86
arch
:
ia32
plat
:
win32
-
win_runtime
:
win10-x64
arch
:
x64
plat
:
win32
-
win_runtime
:
win10-x86
arch
:
ia32
arch
:
ia32
plat
:
win32
plat
:
win32
# build cache to preserve files/folders between builds
cache
:
-
'
%APPVEYOR_BUILD_FOLDER%\Breeze.UI\node_modules'
-
'
%USERPROFILE%\.nuget\packages'
init
:
init
:
-
ps
:
|
-
ps
:
|
$env:log_prefix = "[$env:win_runtime][$env:configuration]"
$env:log_prefix = "[$env:win_runtime][$env:configuration]"
$env:node_output_name = "Breeze-$env:plat-$env:arch"
$env:app_output_name = "breeze-$env:win_runtime"
$env:app_output_zip_name = "breeze-$env:win_runtime-$env:configuration.zip"
if ($env:APPVEYOR_REPO_TAG -eq "false") { $env:APPVEYOR_REPO_TAG_NAME = "cd-unstable" }
if ($env:APPVEYOR_REPO_TAG -eq "false") { $env:APPVEYOR_REPO_TAG_NAME = "cd-unstable" }
install
:
install
:
...
@@ -82,9 +77,6 @@ before_build:
...
@@ -82,9 +77,6 @@ before_build:
Write-Host "Windows runtime: $env:win_runtime" -foregroundcolor "magenta"
Write-Host "Windows runtime: $env:win_runtime" -foregroundcolor "magenta"
Write-Host "Build directory: $env:APPVEYOR_BUILD_FOLDER" -foregroundcolor "magenta"
Write-Host "Build directory: $env:APPVEYOR_BUILD_FOLDER" -foregroundcolor "magenta"
Write-Host "Configuration: $env:configuration" -foregroundcolor "magenta"
Write-Host "Configuration: $env:configuration" -foregroundcolor "magenta"
Write-Host "node.js output name: $env:node_output_name" -foregroundcolor "magenta"
Write-Host "App output folder name: $env:app_output_name" -foregroundcolor "magenta"
Write-Host "App output zip file name: $env:app_output_zip_name" -foregroundcolor "magenta"
Write-Host "Branch: $env:APPVEYOR_REPO_BRANCH" -foregroundcolor "magenta"
Write-Host "Branch: $env:APPVEYOR_REPO_BRANCH" -foregroundcolor "magenta"
Write-Host "Tag is set: $env:APPVEYOR_REPO_TAG" -foregroundcolor "magenta"
Write-Host "Tag is set: $env:APPVEYOR_REPO_TAG" -foregroundcolor "magenta"
Write-Host "Tag: $env:APPVEYOR_REPO_TAG_NAME" -foregroundcolor "magenta"
Write-Host "Tag: $env:APPVEYOR_REPO_TAG_NAME" -foregroundcolor "magenta"
...
...
build.sh
View file @
c34c8b0a
...
@@ -5,8 +5,8 @@ set -o errexit
...
@@ -5,8 +5,8 @@ set -o errexit
# define a few variables
# define a few variables
node_output_name
=
"Breeze-
$os_platform
-
$arch
"
node_output_name
=
"Breeze-
$os_platform
-
$arch
"
app_output_name
=
"breeze-
$
os_identifier
-
$arch
"
app_output_name
=
"breeze-
$
TRAVIS_OS_NAME
-
$arch
"
app_output_zip_name
=
"breeze-
$
os_identifier
-
$arch
-
$configuration
.zip"
app_output_zip_name
=
"breeze-
$
TRAVIS_OS_NAME
-
$arch
.zip"
if
[
"
$TRAVIS_OS_NAME
"
=
"osx"
]
if
[
"
$TRAVIS_OS_NAME
"
=
"osx"
]
then
then
...
@@ -17,7 +17,6 @@ fi
...
@@ -17,7 +17,6 @@ fi
echo
"current environment variables:"
echo
"current environment variables:"
echo
"OS name:"
$TRAVIS_OS_NAME
echo
"OS name:"
$TRAVIS_OS_NAME
echo
"OS identifier:"
$os_identifier
echo
"Platform:"
$os_platform
echo
"Platform:"
$os_platform
echo
"Build directory:"
$TRAVIS_BUILD_DIR
echo
"Build directory:"
$TRAVIS_BUILD_DIR
echo
"Node version:"
$TRAVIS_NODE_VERSION
echo
"Node version:"
$TRAVIS_NODE_VERSION
...
@@ -48,7 +47,7 @@ echo $log_prefix FINISHED restoring dotnet and npm packages
...
@@ -48,7 +47,7 @@ echo $log_prefix FINISHED restoring dotnet and npm packages
# dotnet publish
# dotnet publish
echo
$log_prefix
running
'dotnet publish'
echo
$log_prefix
running
'dotnet publish'
cd
$TRAVIS_BUILD_DIR
/StratisBitcoinFullNode/Stratis.BreezeD
cd
$TRAVIS_BUILD_DIR
/StratisBitcoinFullNode/Stratis.BreezeD
dotnet publish
-c
$configuration
-r
$
os_identifier
-
$arch
-v
m
-o
$TRAVIS_BUILD_DIR
/dotnet_out/
$TRAVIS_OS_NAME
dotnet publish
-c
$configuration
-r
$
TRAVIS_OS_NAME
-
$arch
-v
m
-o
$TRAVIS_BUILD_DIR
/dotnet_out/
$TRAVIS_OS_NAME
echo
$log_prefix
chmoding the Stratis.BreezeD file
echo
$log_prefix
chmoding the Stratis.BreezeD file
chmod
+x
$TRAVIS_BUILD_DIR
/dotnet_out/
$TRAVIS_OS_NAME
/Stratis.BreezeD
chmod
+x
$TRAVIS_BUILD_DIR
/dotnet_out/
$TRAVIS_OS_NAME
/Stratis.BreezeD
...
@@ -80,5 +79,8 @@ zip -r $TRAVIS_BUILD_DIR/deploy/$app_output_zip_name $app_output_name/*
...
@@ -80,5 +79,8 @@ zip -r $TRAVIS_BUILD_DIR/deploy/$app_output_zip_name $app_output_name/*
#tests
#tests
echo
$log_prefix
no tests to run
echo
$log_prefix
no tests to run
cd
$TRAVIS_BUILD_DIR
ls
echo
$log_prefix
FINISHED build
echo
$log_prefix
FINISHED build
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment