-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
34 lines (18 loc) · 1.2 KB
/
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
version: 1.0.{build}
init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
- ps: >-
(New-Object Net.WebClient).DownloadFile('http://downloads.arduino.cc/arduino-1.6.11-windows.zip', 'C:\projects\arduino.zip')
Expand-Archive C:\projects\arduino.zip -dest C:\projects\arduino\
(New-Object Net.WebClient).DownloadFile('http://downloads.arduino.cc/libraries/NicoHood/HID_Project-2.4.3.zip', 'C:\projects\hidproject.zip')
Expand-Archive C:\projects\hidproject.zip -dest C:\projects\hidproject\
$mydocuments = [environment]::getfolderpath("mydocuments")
Copy-Item 'C:\projects\hidproject\HID_Project-2.4.3' 'C:\projects\arduino\arduino-1.6.11\libraries\HID-Project' -recurse
build_script:
- cmd: >-
cd C:\projects\arduino\arduino-1.6.11
rem arduino_debug.exe --install-library "HID-Project"
rem powershell Start-Sleep -Seconds 60000
arduino_debug.exe --verify --board arduino:avr:leonardo --verbose-build C:\projects\akuhell\src\keyboard_layouts\keyboard_layouts.ino
arduino_debug.exe --verify --board arduino:avr:leonardo --verbose-build C:\projects\akuhell\src\abauk\abauk.ino