/
appveyor.yml
35 lines (28 loc) · 945 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
environment:
PYTHON: 'C:\Python36'
platform: x86
configuration: Release
init:
# Set the relevant Python and pip location to the path
- cmd: set PATH=%PYTHON%;%PYTHON%\scripts;%PATH%
- cmd: ECHO Path - %PATH%
install:
- cmd: pip install -r requirements.txt
- cmd: pip install pyinstaller
- cmd: cd nordicsemi
- cmd: pyinstaller __main__.py --onefile --clean --name adafruit-nrfutil
# Not a project with an msbuild file, build done at install.
build: None
artifacts:
- path: 'nordicsemi\dist\adafruit-nrfutil.exe'
deploy:
provider: GitHub
description: >
Source release and standalone binaries.
If Python and pip are installed, you do not need the files here.
Instead, on Linux and MacOS, do `pip3 install --user adafruit-nrfutil`
On Windows, do `pip install adafruit-nrfutil`.
auth_token:
secure: tcFElKgzcRzCgpqiJ78WTYNO1FTx4Z8aHV47OxlZIfVkulDr/o81jQZ2aLjirvO5
on:
appveyor_repo_tag: true