-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
173 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,35 @@ | ||
sudo: required | ||
dist: trusty | ||
|
||
language: cpp | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
env: TARGET=linux_x86_64 | ||
- os: linux | ||
env: TARGET=linux_i686 | ||
- os: linux | ||
env: TARGET=linux_armv7l | ||
- os: linux | ||
env: TARGET=linux_aarch64 | ||
- os: linux | ||
env: TARGET=windows_x86 | ||
- os: linux | ||
env: TARGET=windows_amd64 | ||
- os: osx | ||
env: TARGET=darwin | ||
|
||
- os: linux | ||
env: TARGET=linux_x86_64 | ||
- os: linux | ||
env: TARGET=linux_i686 | ||
- os: linux | ||
env: TARGET=linux_armv7l | ||
- os: linux | ||
env: TARGET=linux_aarch64 | ||
- os: linux | ||
env: TARGET=windows_x86 | ||
- os: linux | ||
env: TARGET=windows_amd64 | ||
- os: osx | ||
env: TARGET=darwin | ||
before_script: | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -y -qq; fi | ||
|
||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -y -qq; fi | ||
script: | ||
- bash build.sh $TARGET | ||
- openssl sha1 _packages/**/*.tar.gz | ||
|
||
- bash build.sh $TARGET | ||
- openssl sha1 _packages/**/*.tar.gz | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: P3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ZAXqZ3h0PYu45lSWdFymQjT4/AflJIpvGdzblE8iQCrJfxnzj/53WKWC6CWEG2wKxfIWn0ULAcceDLH1hWK3rFRqpvVRIqSRi+JPVbdiudds5mQGOI8+XYBDHDVTqv2l8rXE3vKZYy/p43JZb+xh+6GiJek3EpDOaOgofasQN2v3XUCjandI/DmZ4V+6CUJTSr+tuWGy/ew79+ZH3/U+JEMSKmVE0dNEzSkvP/1AEENnbi7kH6oGUfddMk02NffRc+x1BhY0VvZSUPAC5WhSCY61UtdGnYGv7wqKUESBhWPUyZOfpXOE/8rhEE= | ||
file: _packages/**/*.tar.gz | ||
file_glob: true | ||
skip_cleanup: true | ||
on: | ||
repo: FPGAwars/tools-system | ||
all_branches: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#ifndef _FTDI_EEPROM_VERSION_H | ||
#define _FTDI_EEPROM_VERSION_H | ||
|
||
#define EEPROM_MAJOR_VERSION 0 | ||
#define EEPROM_MINOR_VERSION 17 | ||
#define EEPROM_VERSION_STRING "0.17" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,47 @@ | ||
{ | ||
"tools-system": | ||
[ | ||
|
||
{ | ||
"url": "https://github.com/FPGAwars/tools-system/releases/download/v1.1.0/tools-system-darwin-1.1.0.tar.gz", | ||
"sha1": "62fdb6b2714da062375cc745c4b7bdfd182a5695", | ||
"version": "1.1.0", | ||
"system": ["darwin", "darwin_x86_64", "darwin_i386"] | ||
}, | ||
{ | ||
"url": "https://github.com/FPGAwars/tools-system/releases/download/v1.1.0/tools-system-linux_aarch64-1.1.0.tar.gz", | ||
"sha1": "a213e907956cffd6ac13713f7e9ae215af7d36c9", | ||
"version": "1.1.0", | ||
"system": ["linux_aarch64"] | ||
}, | ||
{ | ||
"url": "https://github.com/FPGAwars/tools-system/releases/download/v1.1.0/tools-system-linux_armv7l-1.1.0.tar.gz", | ||
"sha1": "eaa9592cb27887320342ed80bfec12498e7f4554", | ||
"version": "1.1.0", | ||
"system": ["linux_armv7l"] | ||
}, | ||
{ | ||
"url": "https://github.com/FPGAwars/tools-system/releases/download/v1.1.0/tools-system-linux_i686-1.1.0.tar.gz", | ||
"sha1": "e671d02590a0fe8c4e6867ac9ce115314c8d9249", | ||
"version": "1.1.0", | ||
"system": ["linux_i686"] | ||
}, | ||
{ | ||
"url": "https://github.com/FPGAwars/tools-system/releases/download/v1.1.0/tools-system-linux_x86_64-1.1.0.tar.gz", | ||
"sha1": "0f229a7d2952dd86390d1faa5e1268af8a773a17", | ||
"version": "1.1.0", | ||
"system": ["linux_x86_64"] | ||
}, | ||
{ | ||
"url": "https://github.com/FPGAwars/tools-system/releases/download/v1.1.0/tools-system-windows_amd64-1.1.0.tar.gz", | ||
"sha1": "a397ecb4b73ef06b370ad8f36c4482a110d5cec1", | ||
"version": "1.1.0", | ||
"system": ["windows_amd64"] | ||
} | ||
{ | ||
"url": "https://github.com/FPGAwars/tools-system/releases/download/v1.1.0/tools-system-windows_x86-1.1.0.tar.gz", | ||
"sha1": "84d2695b3872e9128c4a318b837dcd16d525d04c", | ||
"version": "1.1.0", | ||
"system": ["windows", "windows_x86"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# -- Compile libconfuse script | ||
|
||
VER=3.2.2 | ||
LIBCONFUSE=confuse-$VER | ||
TAR_LIBCONFUSE=$LIBCONFUSE.tar.gz | ||
REL_LIBCONFUSE=https://github.com/martinh/libconfuse/releases/download/v$VER/$TAR_LIBCONFUSE | ||
|
||
# -- Setup | ||
. $WORK_DIR/scripts/build_setup.sh | ||
|
||
cd $UPSTREAM_DIR | ||
# -- Check and download the release | ||
test -e $TAR_LIBCONFUSE || wget $REL_LIBCONFUSE | ||
|
||
# -- Unpack the release | ||
tar zxf $TAR_LIBCONFUSE | ||
|
||
# -- Copy the upstream sources into the build directory | ||
rsync -a $LIBCONFUSE $BUILD_DIR --exclude .git | ||
|
||
cd $BUILD_DIR/$LIBCONFUSE | ||
|
||
PREFIX=$BUILD_DIR/$LIBCONFUSE/release | ||
|
||
#-- Build libconfuse | ||
if [ $ARCH != "darwin" ]; then | ||
./configure --prefix=$PREFIX --host=$HOST $CONFIG_FLAGS | ||
make | ||
make install | ||
fi | ||
|
||
#-- Build simple | ||
cd examples | ||
if [ $ARCH == "darwin" ]; then | ||
$CC -o simple simple.c -lconfuse -I../src | ||
else | ||
$CC -o simple simple.c -static -lconfuse -L$PREFIX/lib -I$PREFIX/include | ||
fi | ||
cd .. | ||
|
||
# -- Test the generated executables | ||
test_bin examples/simple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters