Skip to content

Commit a832013

Browse files
committed
Fix CI
1 parent 25cbc3e commit a832013

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,19 @@ jobs:
146146
- name: Populate hackage index
147147
run: cabal update
148148

149+
# This tells the folly-clib package to look for folly using pkg-config
150+
# instead of building its own copy of the sources. Later we can switch
151+
# to using bundled-folly, or have CI test both variants.
152+
- name: Disable bundled-folly
153+
run: echo CABAL_CONFIG_FLAGS="$CABAL_CONFIG_FLAGS -f-bundled-folly" >> "$GITHUB_ENV"
154+
155+
- name: Grab folly sources
156+
run: |
157+
apt-get install -y wget
158+
cd hsthrift
159+
make setup-folly
160+
make setup-folly-version
161+
149162
- name: Disable some tests
150163
run: echo CABAL_CONFIG_FLAGS="$CABAL_CONFIG_FLAGS -f-hack-tests -f-rust-tests -f-python-tests" >> "$GITHUB_ENV"
151164

0 commit comments

Comments
 (0)