Skip to content

Commit

Permalink
update workflow to install protobuf on windows and macos
Browse files Browse the repository at this point in the history
  • Loading branch information
TanguyBarthelemy committed Apr 9, 2024
1 parent 53725be commit d6b9c40
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,16 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Set up for RProtoBuf
- name: Set up for RProtoBuf on Windows
if: runner.os == 'Windows'
run: choco install protobuf

- name: Set up for RProtoBuf on macos
if: runner.os == 'macOS'
run: brew install protobuf

- name: Set up for RProtoBuf on ubuntu
if: runner.os == 'Linux'
run: sudo apt-get update -y && sudo apt-get install protobuf-compiler libprotobuf-dev libprotoc-dev

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down

0 comments on commit d6b9c40

Please sign in to comment.