-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
32 lines (26 loc) · 883 Bytes
/
action.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
name: install_gtest
description: Install and setup GTest
inputs:
cmake_build_type:
description: Specify the build type on single-configuration generators
required: true
default: Release
version:
description: 'Specify GTest branch to download repository from github.com/google/googletest'
required: false
default: 'release-1.12.1'
runs:
using: composite
steps:
- name: Run in ubuntu or macOS
uses: eProsima/eProsima-CI/ubuntu/install_gtest@main
if: runner.os == 'Linux' || runner.os == 'macOS'
with:
cmake_build_type: ${{ inputs.cmake_build_type }}
version: ${{ inputs.version }}
- name: Run in windows
uses: eProsima/eProsima-CI/windows/install_gtest@main
if: runner.os == 'Windows'
with:
cmake_build_type: ${{ inputs.cmake_build_type }}
version: ${{ inputs.version }}