Use third-party action to get protoc
This commit is contained in:
parent
914d3ecd18
commit
c492e9bb8a
5
.github/workflows/desktop_artifacts.yml
vendored
5
.github/workflows/desktop_artifacts.yml
vendored
@ -171,9 +171,8 @@ jobs:
|
||||
|
||||
- run: rustup toolchain install $(cat rust-toolchain) --profile minimal --target aarch64-pc-windows-msvc
|
||||
|
||||
- name: Install protoc
|
||||
run: choco install protoc
|
||||
shell: cmd
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v3
|
||||
|
||||
- run: cargo install dump_syms
|
||||
|
||||
|
||||
10
.github/workflows/ringrtc.yml
vendored
10
.github/workflows/ringrtc.yml
vendored
@ -121,11 +121,12 @@ jobs:
|
||||
run: |
|
||||
if [[ "${{ matrix.os }}" == macos-* ]]; then
|
||||
brew install protobuf coreutils
|
||||
elif [[ "${{ matrix.os }}" == windows-* ]]; then
|
||||
choco install protoc
|
||||
elif [[ "${{ matrix.os }}" == ubuntu-* ]]; then
|
||||
sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream && sudo apt-get update && sudo apt-get install -y protobuf-compiler libpulse-dev libpulse0 pipewire && systemctl --user daemon-reload && systemctl --user --now enable pipewire pipewire-pulse
|
||||
fi
|
||||
- name: Install Protoc for Windows
|
||||
uses: arduino/setup-protoc@v3
|
||||
if: ${{ startsWith(matrix.os, 'windows-') }}
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
@ -162,11 +163,12 @@ jobs:
|
||||
run: |
|
||||
if [[ "${{ matrix.os }}" == macos-* ]]; then
|
||||
brew install protobuf coreutils
|
||||
elif [[ "${{ matrix.os }}" == windows-* ]]; then
|
||||
choco install protoc
|
||||
elif [[ "${{ matrix.os }}" == ubuntu-* ]]; then
|
||||
sudo apt-get update && sudo apt-get install -y protobuf-compiler libpulse-dev
|
||||
fi
|
||||
- name: Install Protoc for Windows
|
||||
uses: arduino/setup-protoc@v3
|
||||
if: ${{ startsWith(matrix.os, 'windows-') }}
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
|
||||
@ -16,7 +16,7 @@ The following is derived from the depot_tools tutorial: https://commondatastorag
|
||||
|
||||
### Protobuf
|
||||
|
||||
The protobuf compiler, protoc, is needed to build RingRTC. Installation is platform specific and can be found [here](https://grpc.io/docs/protoc-installation/).
|
||||
The protobuf compiler, protoc, is needed to build RingRTC. Installation is platform specific and can be found [here](https://protobuf.dev/installation/).
|
||||
|
||||
### Rust Components
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user