Install deps only if needed for fuzzing

This commit is contained in:
Riccardo Casatta 2021-09-23 10:34:42 +02:00
parent 72dbe1d308
commit 9049eef700
No known key found for this signature in database
GPG Key ID: FD986A969E450397
1 changed files with 4 additions and 1 deletions

View File

@ -29,8 +29,11 @@ jobs:
AS_DEPENDENCY: true AS_DEPENDENCY: true
PIN_VERSIONS: true PIN_VERSIONS: true
steps: steps:
- name: Install test dependencies
- name: Install fuzz dependencies
run: sudo apt-get update -y && sudo apt-get install -y binutils-dev libunwind8-dev libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc libiberty-dev run: sudo apt-get update -y && sudo apt-get install -y binutils-dev libunwind8-dev libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc libiberty-dev
env: ${{ matrix.env }}
if: ${{ env.DO_FUZZ == 'true' }}
- name: Checkout Crate - name: Checkout Crate
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Checkout Toolchain - name: Checkout Toolchain