mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
440a8664de
Upgrade to GHC 9.4.5, and update any tests. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8954 Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com> Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com> Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com> GitOrigin-RevId: 5261126777cb478567ea471c4bf5441bc345ea0d
77 lines
1.8 KiB
Plaintext
77 lines
1.8 KiB
Plaintext
-- The project configuration used when building in CI.
|
|
|
|
reject-unconstrained-dependencies: all
|
|
|
|
package *
|
|
ghc-options:
|
|
-- We compile with package-level parallelism, so just use a small amount
|
|
-- of module-level parallelism for dependencies:
|
|
-- TODO: tune me
|
|
-j2
|
|
-- For performance, with `-j`:
|
|
+RTS -A64m -n2m -RTS
|
|
|
|
-- Enable optimizations in all local (hasura) packages:
|
|
flags: +optimize-hasura
|
|
|
|
package graphql-engine
|
|
ghc-options:
|
|
-- At this point though we definitely want full module-level parallelism:
|
|
-j
|
|
-Werror
|
|
tests: true
|
|
benchmarks: true
|
|
|
|
-- Set common options to internal libraries
|
|
package aeson-ordered
|
|
ghc-options: -j -Werror
|
|
|
|
package api-tests
|
|
ghc-options: -j -Werror
|
|
|
|
package arrows-extra
|
|
ghc-options: -j -Werror
|
|
|
|
package dc-api
|
|
ghc-options: -j -Werror
|
|
|
|
package graphql-parser
|
|
ghc-options: -j -Werror
|
|
|
|
package hasura-error-message
|
|
ghc-options: -j -Werror
|
|
|
|
package hasura-incremental
|
|
ghc-options: -j -Werror
|
|
|
|
package hasura-prelude
|
|
ghc-options: -j -Werror
|
|
|
|
package hasura-schema-parsers
|
|
ghc-options: -j -Werror
|
|
|
|
package pg-client
|
|
ghc-options: -j -Werror
|
|
|
|
package resource-pool
|
|
ghc-options: -j -Werror
|
|
|
|
package test-harness
|
|
ghc-options: -j -Werror
|
|
|
|
-- %%%-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:
|
|
-- At this point though we definitely want full module-level parallelism:
|
|
-j
|
|
-Werror
|
|
tests: true
|