diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index e1339c751..28ca81246 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -28,7 +28,15 @@ jobs: - name: Install libsnappy-dev if: ${{ matrix.tox-environment == 'lint' }} - run: sudo apt-get install -y libsnappy-dev + run: | + sudo apt-get install -y libsnappy-dev + if [[ matrix.os == ubuntu-latest ]]; then + sudo apt-get update && sudo apt-get install -y libsnappy-dev + elif [[ matrix.os == macos-latest ]]; then + brew install snappy + elif [[ matrix.os == windows-latest ]]; then + choco install snappy + fi - name: Build Wheel and Image Files uses: ./.github/actions/artifacts_build