Skip to content

Commit

Permalink
Updated CI to install prtobuf & cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
fayeed committed Oct 9, 2023
1 parent 412f72d commit 0dc6648
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/integration_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
override: true
toolchain: 1.71.1

- name: Install protobuf & cmake
run: brew install protobuf cmake

- name: Cache cargo
id: cache-cargo
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf
- name: Install HC
run: cargo install holochain_cli --version 0.2.2 || echo "hc already installed"
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ jobs:
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf
- name: install dependencies (ubuntu only)
if: matrix.platform == 'macos-latest'
run: brew install protobuf cmake

- name: get version
run: echo "PACKAGE_VERSION=$(node -p "require('./ui/package.json').version")" >> $GITHUB_ENV
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/publish_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ jobs:
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf protobuf
- name: install dependencies (ubuntu only)
if: matrix.platform == 'macos-latest'
run: brew install protobuf cmake

- name: get version
run: echo "PACKAGE_VERSION=$(node -p "require('./ui/package.json').version")" >> $GITHUB_ENV
Expand Down

0 comments on commit 0dc6648

Please sign in to comment.