Fix gtest dependency (#15) #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Ubuntu | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, ubuntu-20.04] | |
runs-on: ${{ matrix.os || 'ubuntu-latest' }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
#!/bin/bash | |
sudo apt update && sudo apt install -y cmake build-essential pkg-config libssl-dev protobuf-compiler-grpc libgrpc++-dev libgtest-dev&& mkdir -p kuka_external_control_sdk/build && mkdir -p kuka_external_control_sdk_examples/build | |
- name: Build and install | |
run: cmake -DBUILD_TESTING=1 .. && make install | |
working-directory: ./kuka_external_control_sdk/build | |
- name: Run tests | |
run: ./test_robot && ./test_message_builder | |
working-directory: ./kuka_external_control_sdk/build/iiqka | |
- name: Build and install examples | |
run: cmake -DBUILD_TESTING=1 .. && make | |
working-directory: ./kuka_external_control_sdk_examples/build |