mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
260202e0fa
This change was prompted by how `make ci-build` in `./server` clobbered my `cabal.project.local`. Addressing that more directly proved awkward, thus this change, which makes both `ci-build` targets use a shared `/cabal.project.ci.*` (via `--with-project-file`). Also removes some pro targets/scripts which were definitely broken thus unused. ### Affected components - [x] Build System ### Steps to test and verify If CI still passes, this should be safe. https://github.com/hasura/graphql-engine-mono/pull/2244 GitOrigin-RevId: 1494824cabd2fbe6415d050c19e27f37bb51b86b
39 lines
1.1 KiB
Plaintext
39 lines
1.1 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
|
|
|
|
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:
|
|
-O2 -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
|