Skip to content

Commit

Permalink
Merge pull request #35 from brainstorm/rpi3-arm64
Browse files Browse the repository at this point in the history
Working deploy with travis-ci.com for the RaspberryPi3 (arm64) support
  • Loading branch information
vonnieda authored May 7, 2020
2 parents 1cdb5ce + 692373f commit 4a9bd22
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ common/version.h
/build*
*.pro.user
QtCaptureTest/build
.DS_Store
.vscode
22 changes: 17 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
language: cpp

arch:
- amd64
- arm64
os:
- linux
- osx
Expand All @@ -9,6 +11,14 @@ osx_image: xcode11.3
compiler:
- gcc

jobs:
fast_finish: true
include:
- os: linux
arch: amd64
- os: linux
arch: arm64
- os: osx
addons:
apt:
packages:
Expand All @@ -26,14 +36,16 @@ before_deploy:
- mkdir deploy
- if [ $TRAVIS_OS_NAME = osx ]; then cp libopenpnp-capture.dylib deploy; cp mac/tests/openpnp-capture-test deploy/openpnp-capture-test-mac; fi
- if [ $TRAVIS_OS_NAME = linux ]; then cp libopenpnp-capture.so deploy; cp linux/tests/openpnp-capture-test deploy/openpnp-capture-test-linux; fi

- if [ $TRAVIS_CPU_ARCH = arm64 ]; then cp libopenpnp-capture.so deploy/libopenpnp-capture-arm64.so; cp linux/tests/openpnp-capture-test deploy/openpnp-capture-test-linux-arm64; fi
deploy:
provider: releases
api_key:
token:
secure: Vep5q/3rmKlU1bwi4R7/vrOOvOzZ/S+ukNBgjioMWMQP+f/QFZPc1IO0VP3kqxuxpvG4rWJR0djSu+FJG6ptK9OZbjVZvEAiBJVQZnHkDHyc8Gye2GCj/4XPUWiKXVQS5fTFHI7NenGPMZlRs/N9xI156gwiOLkpPK2Di1Zna51Mig74zU68WpDRsVWNlKu2nIx1WK2W7fWn9IM1FrtM86BPnztkqHUOBKhyYTpw7hKtAnqiB/09u5vBqd0DeoTohYaSAtFcKeNVBFtZO5wF+VKRnDDRMitM3SgEFElHT68KRR9zoqEvdmieK2GsoEhNzOKWRhjBWG1JvxJOlish8m1gftOiRPmNKq+PrLLReZpIRh7XoqXhmSW2M5BzrWnv1l957tRp0V/2dy6gZudCD4Kwh3CV/XXfUK6J6yPaCpCqSGV2ylHoX9hhVMheh4kdjpKUi4dsfQ5suLqgSIwge6trBjwyXUqrsnH9KAZJEpLCfIR4E870phOV5nuNkeFqS5mFdqJIlJPjORFzNgbJ5fx9yH9RqIHEuTH5Rkd8svPWKo7KU9L1wJcjm2k1VHqy5MCxenMGuRafUNAOQ9PoiAd7ijr/zvrUgvEjl353rWheTYllkRovt4C6DQ08fcC5w2BlofuRWWk/+Z69Pd0QkB7+dqae92csshaxe1TvAHA=
file_glob: true
file: deploy/*
skip_cleanup: true
file: deploy/*
cleanup: false
edge: true
on:
all_branches: true
tags: true

4 changes: 4 additions & 0 deletions docker/Dockerfile.rpi3_arm64
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM balenalib/raspberrypi3-64

WORKDIR /openpnp-capture
RUN apt-get update && apt-get install -y libgtk-3-dev nasm cmake

0 comments on commit 4a9bd22

Please sign in to comment.