Skip to content

Commit a37682d

Browse files
committed
Fix CI
1 parent a42509f commit a37682d

2 files changed

Lines changed: 13 additions & 1 deletion

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

glean.cabal.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ common fb-haskell
2525
default-extensions:
2626
BangPatterns
2727
BinaryLiterals
28-
CPP
2928
DataKinds
3029
DeriveDataTypeable
3130
DeriveGeneric

0 commit comments

Comments
 (0)