forked from eProsima/Micro-XRCE-DDS-Gen
-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (32 loc) · 824 Bytes
/
ci.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
name: Continuous Integration
on:
workflow_dispatch:
push:
branches:
- 'master'
pull_request:
branches:
- '**'
jobs:
ubuntu-build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: src/microxrceddsgen
submodules: recursive
- uses: ./src/microxrceddsgen/.github/actions/install-apt-packages
- name: Get minimum supported version of CMake
uses: lukka/get-cmake@latest
with:
cmakeVersion: 3.16.3
- name: Use cmake
run: cmake --version
- name: Build microxrceddsgen
run: |
cd src/microxrceddsgen
./gradlew assemble
- name: Test microxrceddsgen
run: |
cd src/microxrceddsgen
./gradlew test -Dbranch=v2.3.0