forked from koide3/ndt_omp
-
Notifications
You must be signed in to change notification settings - Fork 35
40 lines (34 loc) · 890 Bytes
/
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
name: Build
on:
push:
branches: [ master ]
pull_request:
types:
- opened
- synchronize
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ROS_DISTRO: [foxy, galactic, humble]
steps:
- uses: actions/checkout@v2
- name: Docker build gcc
uses: docker/build-push-action@v2
with:
file: ${{github.workspace}}/docker/Dockerfile_gcc
context: .
push: false
build-args: |
ROS_DISTRO=${{ matrix.ROS_DISTRO }}
- name: Docker build llvm
uses: docker/build-push-action@v2
with:
file: ${{github.workspace}}/docker/Dockerfile_llvm
context: .
push: false
build-args: |
ROS_DISTRO=${{ matrix.ROS_DISTRO }}