Icons set
Build electron for Linux, Windows and macOS. Ref. #18, #19, #20, #22
Include gns3server in electron app. Ref. #21
Bumping version Ref. #24
CD and Release for AppVeyor, CircleCi and TCI. Ref. #25, #26, #27, #28
Make lighter artifacts #31
Build gns3server for Linux, Windows and macOS. Ref. #33, #34, #35
2018-01-04 12:50:20 +01:00
|
|
|
version: 1.0.{build}
|
|
|
|
|
|
|
|
# Do not build feature branch with open Pull Requests
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
|
2019-02-27 12:04:09 +01:00
|
|
|
cache:
|
|
|
|
- node_modules -> .appveyor.yml,package.json,yarn.lock
|
|
|
|
- '%LOCALAPPDATA%\Yarn -> .appveyor.yml,package.json,yarn.lock'
|
2018-03-29 14:58:01 +02:00
|
|
|
|
Icons set
Build electron for Linux, Windows and macOS. Ref. #18, #19, #20, #22
Include gns3server in electron app. Ref. #21
Bumping version Ref. #24
CD and Release for AppVeyor, CircleCi and TCI. Ref. #25, #26, #27, #28
Make lighter artifacts #31
Build gns3server for Linux, Windows and macOS. Ref. #33, #34, #35
2018-01-04 12:50:20 +01:00
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
init:
|
|
|
|
- git config --global core.autocrlf input
|
|
|
|
|
|
|
|
install:
|
2019-09-23 00:44:58 -07:00
|
|
|
- ps: Install-Product node 12 x64
|
2018-07-20 09:01:37 +02:00
|
|
|
- yarn install
|
Icons set
Build electron for Linux, Windows and macOS. Ref. #18, #19, #20, #22
Include gns3server in electron app. Ref. #21
Bumping version Ref. #24
CD and Release for AppVeyor, CircleCi and TCI. Ref. #25, #26, #27, #28
Make lighter artifacts #31
Build gns3server for Linux, Windows and macOS. Ref. #33, #34, #35
2018-01-04 12:50:20 +01:00
|
|
|
|
|
|
|
build_script:
|
2019-09-26 13:18:52 -07:00
|
|
|
- cmd: set NODE_OPTIONS=--max-old-space-size=8092
|
2019-09-23 02:25:37 -07:00
|
|
|
- yarn buildforelectron
|
Icons set
Build electron for Linux, Windows and macOS. Ref. #18, #19, #20, #22
Include gns3server in electron app. Ref. #21
Bumping version Ref. #24
CD and Release for AppVeyor, CircleCi and TCI. Ref. #25, #26, #27, #28
Make lighter artifacts #31
Build gns3server for Linux, Windows and macOS. Ref. #33, #34, #35
2018-01-04 12:50:20 +01:00
|
|
|
- "%PYTHON%\\python.exe -m pip install -r scripts\\requirements.txt"
|
2019-04-29 10:09:08 +02:00
|
|
|
- "%PYTHON%\\python.exe scripts\\build.py download -a"
|
2018-01-18 09:28:32 +01:00
|
|
|
- "%PYTHON%\\python.exe scripts\\build.py build_exe -b dist/exe.gns3server -s"
|
Icons set
Build electron for Linux, Windows and macOS. Ref. #18, #19, #20, #22
Include gns3server in electron app. Ref. #21
Bumping version Ref. #24
CD and Release for AppVeyor, CircleCi and TCI. Ref. #25, #26, #27, #28
Make lighter artifacts #31
Build gns3server for Linux, Windows and macOS. Ref. #33, #34, #35
2018-01-04 12:50:20 +01:00
|
|
|
- "%PYTHON%\\python.exe scripts\\build.py validate -b dist"
|
2019-03-05 09:57:24 +01:00
|
|
|
- "%PYTHON%\\python.exe scripts\\build.py download_dependencies -b dist"
|
2019-03-07 16:02:59 +01:00
|
|
|
- yarn electron-builder --win --x64 --publish always
|
Icons set
Build electron for Linux, Windows and macOS. Ref. #18, #19, #20, #22
Include gns3server in electron app. Ref. #21
Bumping version Ref. #24
CD and Release for AppVeyor, CircleCi and TCI. Ref. #25, #26, #27, #28
Make lighter artifacts #31
Build gns3server for Linux, Windows and macOS. Ref. #33, #34, #35
2018-01-04 12:50:20 +01:00
|
|
|
|
|
|
|
test: off
|
|
|
|
|
2018-01-29 08:15:53 +01:00
|
|
|
artifacts:
|
2018-07-23 16:37:09 +02:00
|
|
|
- path: 'gns3-web-ui*.exe'
|
2018-01-29 08:15:53 +01:00
|
|
|
name: gns3-web-ui
|
Icons set
Build electron for Linux, Windows and macOS. Ref. #18, #19, #20, #22
Include gns3server in electron app. Ref. #21
Bumping version Ref. #24
CD and Release for AppVeyor, CircleCi and TCI. Ref. #25, #26, #27, #28
Make lighter artifacts #31
Build gns3server for Linux, Windows and macOS. Ref. #33, #34, #35
2018-01-04 12:50:20 +01:00
|
|
|
|
|
|
|
environment:
|
|
|
|
GH_TOKEN:
|
|
|
|
secure: Zb0F4wfA/3zXZBQiEmEGpKIP17hD9gb/CNwxQE2N3J4Eq3z58mp0K0ey5g8Dupsb
|
|
|
|
PYTHON: "C:\\Python36-x64"
|