Skip to content

Commit

Permalink
Added more generic dependency installation
Browse files Browse the repository at this point in the history
  • Loading branch information
cromefire committed Dec 10, 2023
1 parent b701a63 commit 82bbf8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
target: x86_64-unknown-linux-gnu
binary: x86_64-manylinux2014-rocm5.7
container: rocm/dev-ubuntu-22.04:5.7-complete
install_git: true
apt_dependencies: git pkg-config libssl-dev cmake protobuf-compiler
build_args: --features rocm

env:
Expand All @@ -53,11 +53,11 @@ jobs:
CARGO_INCREMENTAL: 0

steps:
- name: Install Git
if: ${{ matrix.install_git }}
- name: Install dependencies
if: ${{ matrix.apt_dependencies }}
run: |
apt-get update
apt-get install -y git
apt-get install -y ${{ matrix.apt_dependencies }}
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 82bbf8d

Please sign in to comment.