mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 10:46:25 +03:00
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2629 GitOrigin-RevId: acb22a595cae672bdf5a0303094fb28fc5afcfb3
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
-- The project configuration used when building in CI.
|
|
|
|
reject-unconstrained-dependencies: all
|
|
|
|
package *
|
|
ghc-options:
|
|
-- Tune for the circleci `xlarge` resource class, which provides
|
|
-- 8 vcpus.
|
|
-j6
|
|
-- Limit heap size to 15G, to maintain some breathing room given
|
|
-- the 16G of available memory.
|
|
+RTS -M15000m -RTS
|
|
|
|
-- Enable optimizations in all local (hasura) packages:
|
|
flags: +optimize-hasura
|
|
|
|
package graphql-engine
|
|
ghc-options:
|
|
-Werror
|
|
tests: true
|
|
benchmarks: true
|
|
|
|
-- %%%-BEGIN-PRO-ONLY-CONTENT-%%%
|
|
|
|
-- NOTE:
|
|
-- The label directly above this note marks the beginning of the pro-only
|
|
-- section of this file that should be removed by `Copybara` when migrating
|
|
-- this file to the public `graphql-engine` repository. We use a simple
|
|
-- regular expression to identify these segments (see the "transformations" in
|
|
-- `copy.bara.sky`), so please take care when manipulating this label!
|
|
|
|
package graphql-engine-pro
|
|
ghc-options:
|
|
-Werror
|
|
-- Tune for the circleci `2xlarge` resource class, which provides
|
|
-- 16 vcpus.
|
|
-j14
|
|
-- Limit heap size to 31G, to maintain some breathing room given
|
|
-- the 32G of available memory.
|
|
+RTS -M31000m -RTS
|
|
tests: true
|