|
20 | 20 | strategy: |
21 | 21 | fail-fast: false |
22 | 22 | matrix: |
23 | | - ghc: ["9.6", "9.12"] |
| 23 | + ghc: ["9.6", "9.10"] |
24 | 24 | cabal: ["3.14"] |
25 | 25 | sys: |
26 | 26 | - { os: windows-latest, shell: 'C:/msys64/usr/bin/bash.exe -e {0}' } |
|
80 | 80 | with: |
81 | 81 | use-sodium-vrf: true # default is true |
82 | 82 |
|
| 83 | + - name: "[Linux] Install grpc dependencies" |
| 84 | + if: runner.os == 'Linux' |
| 85 | + run: sudo apt install libsnappy-dev protobuf-compiler |
| 86 | + |
| 87 | + - name: "[Windows] Install grpc dependencies" |
| 88 | + if: runner.os == 'Windows' |
| 89 | + run: /usr/bin/pacman --noconfirm -S mingw-w64-x86_64-snappy mingw-w64-x86_64-protobuf |
| 90 | + |
| 91 | + - name: "[macOS] Install grpc dependencies" |
| 92 | + if: runner.os == 'macOS' |
| 93 | + run: | |
| 94 | + brew install snappy protobuf |
| 95 | + SNAPPY_PREFIX=$(brew --prefix snappy) |
| 96 | + # TODO generalise and move these paths fixups to https://github.com/input-output-hk/actions/blob/latest/base/action.yml |
| 97 | + cat <<EOF >> $GITHUB_ENV |
| 98 | + LIBRARY_PATH=$SNAPPY_PREFIX/lib |
| 99 | + CPATH=$SNAPPY_PREFIX/include |
| 100 | + EOF |
| 101 | +
|
83 | 102 | - uses: actions/checkout@v4 |
84 | 103 |
|
85 | 104 | - name: Cabal update |
@@ -159,10 +178,10 @@ jobs: |
159 | 178 | # and will silently fail if msys2 is not in path. See the "Run tests" step. |
160 | 179 | # |
161 | 180 | # - name: Setup tmate session |
162 | | - # if: ${{ failure() }} |
163 | | - # uses: mxschmitt/action-tmate@v3 |
164 | | - # with: |
165 | | - # limit-access-to-actor: true |
| 181 | + # if: ${{ failure() }} |
| 182 | + # uses: mxschmitt/action-tmate@v3 |
| 183 | + # with: |
| 184 | + # limit-access-to-actor: true |
166 | 185 |
|
167 | 186 | build-complete: |
168 | 187 | needs: [build] |
|
0 commit comments