Add Travis CI support
This commit is contained in:
parent
1b9af0e327
commit
d007a46e31
|
@ -4,3 +4,6 @@
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
tab_width = 8
|
tab_width = 8
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
indent_size = 2
|
||||||
|
|
|
@ -56,6 +56,7 @@ ylwrap
|
||||||
[Rr]elease/
|
[Rr]elease/
|
||||||
x64/
|
x64/
|
||||||
x86/
|
x86/
|
||||||
|
*.log
|
||||||
|
|
||||||
# Visual Studio cache/options directory
|
# Visual Studio cache/options directory
|
||||||
.vs/
|
.vs/
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
language: c++
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- name: "Linux (GCC)"
|
||||||
|
os: linux
|
||||||
|
dist: bionic
|
||||||
|
compiler: gcc
|
||||||
|
before_install:
|
||||||
|
- sudo apt-get -y install make gcc automake libtool flex bison
|
||||||
|
- sudo apt-get -y install libelf-dev libusb-dev libftdi1-dev libhidapi-dev
|
||||||
|
script:
|
||||||
|
- ./bootstrap
|
||||||
|
- ./configure
|
||||||
|
- make
|
||||||
|
- name: "macOS (clang)"
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode12u
|
||||||
|
compiler: clang
|
||||||
|
before_install:
|
||||||
|
- brew install flex bison
|
||||||
|
script:
|
||||||
|
- ./bootstrap
|
||||||
|
- ./configure
|
||||||
|
- make
|
||||||
|
- name: "Windows (MSVC)"
|
||||||
|
if: branch = windows OR branch = dev
|
||||||
|
os: windows
|
||||||
|
before_install:
|
||||||
|
- choco install visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.18362"
|
||||||
|
- export PATH=$PATH:"/c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/MSBuild/Current/Bin"
|
||||||
|
script:
|
||||||
|
- MSBuild.exe -fileLogger -target:avrdude -property:Configuration=Release -property:Platform=x64 avrdude.sln
|
|
@ -16,6 +16,7 @@ EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{743FA5F6-A0D7-46F7-B73D-632B64C732FB}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{743FA5F6-A0D7-46F7-B73D-632B64C732FB}"
|
||||||
ProjectSection(SolutionItems) = preProject
|
ProjectSection(SolutionItems) = preProject
|
||||||
.editorconfig = .editorconfig
|
.editorconfig = .editorconfig
|
||||||
|
.travis.yml = .travis.yml
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
|
|
Loading…
Reference in New Issue