cavis/.github/actions/install-cmake-linux/action.yml

11 lines
470 B
YAML
Raw Normal View History

2021-03-10 05:45:45 +01:00
name: Install protobuf linux
runs:
using: composite
steps:
- name: Install protobuf linux
shell: bash
run: |
apt-get -yq update && apt-get install -y build-essential unzip libssl-dev
curl -fsSL http://cmake.org/files/v3.19/cmake-3.19.0.tar.gz | tar xz && cd cmake-3.19.0
./configure --prefix=/opt/cmake && make -j2 && make install && cd .. && rm -r cmake-3.19.0
echo "/opt/cmake/bin" >> $GITHUB_PATH