forked from ros-visualization/rviz
-
Notifications
You must be signed in to change notification settings - Fork 1
57 lines (48 loc) · 1.68 KB
/
abi.yaml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)
name: ABI
on:
workflow_dispatch:
pull_request:
push:
jobs:
default:
strategy:
matrix:
distro: [noetic]
env:
UPSTREAM_WORKSPACE: github:rhaschke/python_qt_binding#silent-external-warnings
CCACHE_DIR: ${{ github.workspace }}/.ccache
BASEDIR: /home/runner/work
DOCKER_IMAGE: rhaschke/ici:rviz-${{ matrix.distro }}-${{ matrix.repo || 'ros' }}
CACHE_PREFIX: ${{ matrix.distro }}
ABICHECK_URL: github:ros-visualization/rviz#1.14.20
GHA_CACHE_SAVE: always
name: "check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache ccache
uses: rhaschke/cache@main
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }}
restore-keys: |
ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}
ccache-${{ env.CACHE_PREFIX }}
- name: Cache ABI workspace
uses: rhaschke/cache@main
with:
path: ${{ env.BASEDIR }}/base_ws
key: base_ws-${{ env.CACHE_PREFIX }}-${{ env.ABICHECK_URL }}
restore-keys: |
base_ws-${{ env.CACHE_PREFIX }}
- name: industrial_ci
uses: rhaschke/industrial_ci@master
env: ${{ matrix.env || env }}
- name: Upload test results (on failure)
uses: actions/upload-artifact@v3
if: failure()
with:
name: abi-check
path: ${{ env.BASEDIR }}/abicheck/**