From 93eac00b67ad10b1953feb6ece95df61ef991b6b Mon Sep 17 00:00:00 2001 From: Ryan Rodriguez Date: Sat, 14 Dec 2024 16:39:45 -0800 Subject: [PATCH] cmake proto --- .github/workflows/CI.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 177037cf..37ee901c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -49,7 +49,24 @@ jobs: libxcb-xfixes0-dev \ libxkbcommon-dev \ patchelf \ - libudev-dev + libudev-dev \ + cmake \ + protobuf-compiler + + - name: Install Protobuf and CMake on macOS + if: runner.os == 'macos-latest' + run: | + brew install cmake protobuf + protoc --version + cmake --version + + - name: Install Protobuf on Windows + if: runner.os == 'windows-latest' + run: | + choco install cmake --installargs '"ADD_CMAKE_TO_PATH=System"' + choco install protoc + protoc --version + cmake --version - name: Build run: cargo build --verbose