fix name #26
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rhel_version: [8, 9] | |
fail-fast: false | |
container: | |
image: almalinux:${{ matrix.rhel_version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install protobuf for RHEL 8 | |
if: matrix.rhel_version == 8 | |
run: dnf --enablerepo=powertools install -y protobuf-devel | |
- name: Install protobuf for RHEL 9 | |
if: matrix.rhel_version == 9 | |
run: dnf --enablerepo=crb install -y protobuf-devel | |
- name: Install dependencies | |
run: | | |
#!/bin/bash | |
dnf install -y https://repo.almalinux.org/almalinux/almalinux-release-synergy-latest-${{ matrix.rhel_version }}.noarch.rpm && dnf install -y cmake gcc-c++ python3-protobuf protobuf-compiler openssl openssl-devel grpc-devel grpc-plugins && cd kuka-external-control-sdk && mkdir build | |
- name: Build and install | |
run: cmake .. && make install | |
working-directory: ./kuka-external-control-sdk/build |