mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-23 14:52:22 +00:00
34 lines
772 B
YAML
34 lines
772 B
YAML
version: 1.0.{build}
|
|
|
|
# Do not build feature branch with open Pull Requests
|
|
skip_branch_with_pr: true
|
|
|
|
platform:
|
|
- x64
|
|
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
|
|
install:
|
|
- ps: Install-Product node 8 x64
|
|
- yarn
|
|
|
|
build_script:
|
|
- yarn buildforelectron
|
|
- "%PYTHON%\\python.exe -m pip install -r scripts\\requirements.txt"
|
|
- "%PYTHON%\\python.exe scripts\\build.py download"
|
|
- "%PYTHON%\\python.exe scripts\\build.py build_exe -b dist/exe.gns3server -s"
|
|
- "%PYTHON%\\python.exe scripts\\build.py validate -b dist"
|
|
- yarn electron-builder --win --x64
|
|
|
|
test: off
|
|
|
|
artifacts:
|
|
- path: 'GNS3*.exe'
|
|
name: gns3-web-ui
|
|
|
|
environment:
|
|
GH_TOKEN:
|
|
secure: Zb0F4wfA/3zXZBQiEmEGpKIP17hD9gb/CNwxQE2N3J4Eq3z58mp0K0ey5g8Dupsb
|
|
PYTHON: "C:\\Python36-x64"
|