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