-
Notifications
You must be signed in to change notification settings - Fork 14
41 lines (39 loc) · 1.1 KB
/
docker_build.yml
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
name: run rostest inside docker
on:
schedule:
- cron: '30 0 * * *'
push:
branches:
- master
pull_request:
branches:
- master
jobs:
docker_build:
name: test docker build
runs-on: ubuntu-latest
steps:
- name: Free disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
docker-images: false
- name: Checkout
uses: actions/checkout@v2
- name: Setup QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
driver: docker
- name: build
uses: docker/build-push-action@v2
with:
push: false
tags: detic_ros:latest
build-args: | # for testing purposes only
INSTALL_JSK_PCL=false
KEEP_LAUNCH_FILES=true
- name: rostest
run: |
docker run --rm detic_ros:latest /bin/bash -i -c "source ~/.bashrc; rostest detic_ros test_node.test"