Skip to content

Commit f0e751b

Browse files
author
Aaron Roller
authored
Merge pull request #80 from AutoModality/AM-750/fix_cv_bridge_arm64
feat: update for arm64
2 parents 5119ef4 + f2051b9 commit f0e751b

File tree

4 files changed

+15
-62
lines changed

4 files changed

+15
-62
lines changed

.github/workflows/nightly.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
name: Nightly
2-
on:
3-
schedule:
4-
- cron: '00 10 * * *'
2+
on:
3+
push:
4+
branches-ignore:
5+
- master
56
jobs:
6-
build:
7-
runs-on: ubuntu-18.04
7+
package:
8+
runs-on: [x64, self-hosted,linux,build]
89
steps:
10+
- uses: AutoModality/action-clean@v1.1.0
911
- uses: actions/checkout@v2
10-
- name: Package
11-
id: package
12-
uses: AutoModality/action-package-debian-ros@v5-ros
13-
with:
14-
release-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_RELEASE_ENTITLEMENT }}
12+
- name: Deploy
13+
run: amros dev docker run -dm --command="amros dev build deb"
1514

.github/workflows/package.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,8 @@ jobs:
1313
steps:
1414
- uses: AutoModality/action-clean@v1.1.0
1515
- uses: actions/checkout@v2
16-
- uses: rlespinasse/github-slug-action@3.1.0 # for GITHUB_REF_SLUG
17-
- name: Package
18-
id: package
19-
uses: AutoModality/action-package-debian-ros@v5-amros
20-
with:
21-
branch: ${{ env.GITHUB_REF_SLUG }}
22-
build-number: ${{ github.run_number }}
23-
release-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_RELEASE_ENTITLEMENT }}
24-
- name: The generated package
25-
run: echo "The artifact is ${{ steps.package.outputs.artifact-path }}"
2616
- name: Deploy
27-
id: deploy
28-
uses: AutoModality/action-cloudsmith@0.2.0
29-
with:
30-
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
31-
command: 'push'
32-
format: 'deb'
33-
owner: 'automodality'
34-
repo: 'dev'
35-
distro: 'ubuntu'
36-
release: 'bionic'
37-
file: '${{ steps.package.outputs.artifact-path }}'
17+
run: amros dev docker run -dm --command="deploy-amros developer 0.0.${{ github.run_number }} dev ${{ secrets.CLOUDSMITH_API_KEY }}"
3818
draft-pr:
3919
runs-on: ubuntu-18.04
4020
needs: package
@@ -45,12 +25,3 @@ jobs:
4525
with:
4626
pr_draft: true
4727
github_token: ${{ secrets.GITHUB_TOKEN }}
48-
# code-format:
49-
# runs-on: ubuntu-18.04
50-
# needs: package
51-
# steps:
52-
# - uses: actions/checkout@v2
53-
# - name: Format Code
54-
# uses: AutoModality/action-ros-clang-format@master
55-
# env:
56-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ env:
99
RELEASE_PAYLOAD_FILE: release/payload.json
1010
jobs:
1111
release:
12-
runs-on: ${{ matrix.os }}
13-
strategy:
14-
matrix:
15-
os: [ubuntu-18.04]
12+
runs-on: ubuntu-18.04
1613
steps:
1714
- uses: AutoModality/action-clean@v1.1.0
1815
- name: Checkout
@@ -77,26 +74,10 @@ jobs:
7774
with:
7875
path: ${{ env.RELEASE_PROPERTIES_FILE }}
7976
property: 'version'
80-
- name: Package if published
81-
if: steps.published.outputs.value == 'true'
82-
id: package
83-
uses: AutoModality/action-package-debian-ros@v5-amros
84-
with:
85-
version: ${{ steps.version.outputs.value }}
86-
release-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_RELEASE_ENTITLEMENT }}
8777
- name: Deploy if published
8878
if: steps.published.outputs.value == 'true'
8979
id: deploy
90-
uses: AutoModality/action-cloudsmith@0.2.0
91-
with:
92-
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
93-
command: 'push'
94-
format: 'deb'
95-
owner: 'automodality'
96-
repo: 'release'
97-
distro: 'ubuntu'
98-
release: 'bionic'
99-
file: '${{ steps.package.outputs.artifact-path }}'
80+
run: amros dev docker run -dm --command="deploy-amros developer ${{ steps.version.outputs.value }} release ${{ secrets.CLOUDSMITH_API_KEY }}"
10081
notify-amros:
10182
needs: release-package
10283
runs-on: ubuntu-latest

debian/control

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Priority: extra
44
Maintainer: info <info@automodality.com>
55
Build-Depends: debhelper (>= 9.0.0),
66
libjsoncpp-dev,
7+
opencv,
78
pcl,
89
ros-melodic-am-perception-pcl,
910
ros-melodic-am-control-toolbox,
@@ -33,12 +34,13 @@ Package: ros-melodic-am-utils
3334
Architecture: any
3435
Depends: ${shlibs:Depends}, ${misc:Depends},
3536
libjsoncpp-dev,
37+
opencv,
3638
pcl,
3739
ros-melodic-am-perception-pcl,
3840
ros-melodic-am-control-toolbox,
3941
ros-melodic-am-msgs,
4042
ros-melodic-am-platform-scripts,
41-
ros-melodic-cv-bridge,
43+
ros-melodic-am-vision-opencv,
4244
ros-melodic-geometry-msgs,
4345
ros-melodic-image-transport,
4446
ros-melodic-mavros-msgs,

0 commit comments

Comments
 (0)