summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* Fix array and cleanup conversion primops (#19026)Sylvain Henry2021-03-031-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The first change makes the array ones use the proper fixed-size types, which also means that just like before, they can be used without explicit conversions with the boxed sized types. (Before, it was Int# / Word# on both sides, now it is fixed sized on both sides). For the second change, don't use "extend" or "narrow" in some of the user-facing primops names for conversions. - Names like `narrowInt32#` are misleading when `Int` is 32-bits. - Names like `extendInt64#` are flat-out wrong when `Int is 32-bits. - `narrow{Int,Word}<N>#` however map a type to itself, and so don't suffer from this problem. They are left as-is. These changes are batched together because Alex happend to use the array ops. We can only use released versions of Alex at this time, sadly, and I don't want to have to have a release thatwon't work for the final GHC 9.2. So by combining these we get all the changes for Alex done at once. Bump hackage state in a few places, and also make that workflow slightly easier for the future. Bump minimum Alex version Bump Cabal, array, bytestring, containers, text, and binary submodules
* gitlab-ci: Disable utimensat in Darwin buildsBen Gamari2021-03-021-0/+2
| | | Fixes #17895.
* gitlab-ci: Fix TEST_ARGS/RUNTEST_ARGS inconsistencyBen Gamari2021-02-271-2/+2
| | | | Finally fixes #19025.
* CI: reduce xz compression for non release/nightly jobsSylvain Henry2021-02-271-0/+21
| | | | | | | | | | | | | | | | | | Reduce XZ compression level for regular jobs (it is bumped to 9 for releases and nightly jobs). In my experiments I've got the following bindist size in the given time for each compression level (with the quick flavour): XZ_OPT Time Size -9 4m06s 112 MB -8 4m00s 114 MB -7 3m50s 116 MB -6 (default) 3m40s 118 MB -5 2m47s 123 MB -4 1m57s 134 MB -3 1m03s 129 MB -2 49.73s 136 MB -1 37.72s 142 MB -0 34.40s 156 MB
* gitlab-ci: Ignore performance test failures on DarwinBen Gamari2021-02-241-0/+4
| | | | Due to #19025.
* Use validate flavour for all CI builds.Andreas Klebinger2021-01-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also means we compile GHC with -O1 instead of -O2 for some platforms for CI. As a result a lot of test metrics got worse which we now have to accept. ------------------------- Metric Increase: ManyAlternatives ManyConstructors MultiLayerModules Naperian T10421 T12150 T12227 T12234 T12425 T12545 T12707 T13035 T13253 T13253-spj T13701 T13379 T13719 T14697 T16577 T18282 T18698a T18698b T1969 T3064 T3294 T4801 T5205 T5321FD T5321Fun T5631 T6048 T783 T9020 T9203 T9233 T9630 T9872a T9872b T9872c T9872d T9961 haddock.Cabal haddock.base haddock.compiler parsing001 T5642 WWRec T14683 T15164 T18304 T18923 -------------------------
* mkDocs: fix extraction of Win32 docs from hadrian bindistAdam Sandberg Ericsson2020-12-221-2/+0
|
* gitlab-ci: Fix name of flavour in ThreadSanitizer jobBen Gamari2020-12-111-1/+1
| | | | | It looks like I neglected to update this after introduce flavour transformers.
* gitlab-ci: Fix incorrect Docker image for nightly cross jobBen Gamari2020-12-111-11/+8
| | | | Also refactor the job definition to eliminate the bug by construction.
* gitlab-ci: Run linters through ci.shBen Gamari2020-12-031-5/+8
| | | | Ensuring that the right toolchain is used.
* Allow deploy:pages job to failRyan Scott2020-11-301-0/+2
| | | | See #18973.
* gitlab-ci: Only deploy GitLab Pages in ghc/ghc>Ben Gamari2020-11-281-1/+3
| | | | | The deployments are quite large and yet are currently only served for the ghc/ghc> project.
* gitlab-ci: Introduce a nightly cross-compilation jobBen Gamari2020-11-281-0/+27
| | | | | | | This adds a job to test cross-compilation from x86-64 to AArch64 with Hadrian. Fixes #18234
* gitlab-ci: Run LLVM builds on Debian 10Ben Gamari2020-11-241-17/+17
| | | | The current Debian 9 image doesn't provide LLVM 7.
* gitlab-ci: Run LLVM job on appropriately-labelled MRsBen Gamari2020-11-241-2/+3
| | | | Namely, those marked with the ~"LLVM backend" label
* AArch64/arm64 adjustmentsMoritz Angermann2020-11-151-0/+8
| | | | | | | | This addes the necessary logic to support aarch64 on elf, as well as aarch64 on mach-o, which Apple calls arm64. We change architecture name to AArch64, which is the official arm naming scheme.
* gitlab-ci: Add DWARF release jobs for Debian 10, Fedora27Ben Gamari2020-11-151-2/+24
|
* gitlab-ci: Cache cabal store in linting jobBen Gamari2020-11-131-2/+6
|
* Merge remote-tracking branch 'origin/wip/tsan/all'Ben Gamari2020-11-081-0/+19
|\
| * gitlab-ci: Disable documentation in TSAN buildBen Gamari2020-10-241-0/+3
| | | | | | | | | | Haddock chews through enough memory to cause the CI builders to OOM and there's frankly no reason to build documentation in this job anyways.
| * gitlab-ci: Add nightly-x86_64-linux-deb9-tsan jobBen Gamari2020-10-241-0/+16
| |
* | gitlab-ci: Bump ci-imagesBen Gamari2020-10-271-1/+1
|/ | | | Bumps bootstrap compiler to 8.10.1.
* gitlab-ci: Rename FLAVOUR -> BUILD_FLAVOURBen Gamari2020-10-201-5/+4
| | | | | | | Previously the Hadrian jobs used the `FLAVOUR` environment variable to communicate which flavour `ci.sh` should build whereas `make` used `BUILD_FLAVOUR`. This caused unnecessary confusion. Consolidate these two.
* gitlab-ci: s/allow_newer/allow_failureBen Gamari2020-10-171-1/+1
| | | Silly mistake on my part.
* gitlab-ci: Allow doc-tarball job to failBen Gamari2020-10-171-0/+2
| | | | Currently the Hadrian build appears not to package documentation correctly, causing doc-tarball to fail due to the Windows build.
* gitlab-ci: Fix Hadrian bindist namesBen Gamari2020-10-161-6/+10
|
* gitlab-ci: Remove allow_failure from Windows jobsBen Gamari2020-10-161-6/+0
|
* mingw: Extract zst toolchain archivesBen Gamari2020-10-161-2/+2
| | | | This should have been done when the toolchain was bumped.
* Bump LLVM version to 10.0Ben Gamari2020-10-141-0/+3
| | | | Fixes #18267.
* gitlab-ci: Verify that Hadrian builds with StackBen Gamari2020-10-141-0/+11
| | | | | | | | As noted in #18726, this regularly breaks. Let's test it. Note that we don't actually perform a build of GHC itself; we merely test that the Hadrian executable builds and works (by invoking `hadrian --version`).
* Remove the dependency on the ghc-linters stageHécate2020-10-111-2/+2
|
* Bump win32-tarballs version to 0.3Ben Gamari2020-10-091-1/+1
| | | | This should fix #18774.
* Add linting of `base` to the CIHécate2020-10-091-21/+62
|
* gitlab-ci: Fix name of Ubuntu 20.04 imageBen Gamari2020-10-071-1/+1
|
* gitlab-ci: Drop Darwin cleanup jobBen Gamari2020-09-251-39/+0
| | | | We now have a proper periodic clean-up script installed on the runners.
* ci: Add ad-hoc performance testing ruleBen Gamari2020-09-251-0/+35
|
* Also cache other hadrian buildsWander Hillen2020-09-141-0/+1
|
* Do the hadrian rebuild multicoreWander Hillen2020-09-141-1/+1
|
* Move ahead cabal cache restoration to before use of cabalWander Hillen2020-09-141-2/+1
|
* Populate gitlab cache after buildingWander Hillen2020-09-141-0/+2
|
* gitlab-ci: Bump Docker imagesBen Gamari2020-09-091-26/+26
| | | | | | | We now generate our Docker images via Dhall definitions, as described in ghc/ci-images!52. Additionally, we are far more careful about where tools come from, using the ALEX, HAPPY, HSCOLOR, and GHC environment variables (set in the Dockerfiles) to find bootstrapping tools.
* gitlab-ci: Use hadrian builds for Windows release artifactsBen Gamari2020-09-071-7/+11
|
* gitlab-ci: Fix typoBen Gamari2020-09-051-1/+1
| | | | A small typo in a rule regular expression.
* gitlab-ci: Drop Windows make jobBen Gamari2020-09-051-6/+3
| | | | | | These are a significant burden on our CI resources and end up failing quite often due to #18274. Here I drop the make jobs during validaion; it is now run only during the nightly builds.
* gitlab-ci: Bump Windows toolchain versionBen Gamari2020-09-051-1/+1
| | | | | This should have been done when we bumped the bootstrap compiler to 8.8.4.
* gitlab-ci: Rename RELEASE variable to RELEASE_JOBBen Gamari2020-09-051-1/+1
| | | | | This interfered with the autoconf variable of the same name, breaking pre-release builds.
* Add ubuntu 20.04 jobs for nightly and releaseWander Hillen2020-08-221-1/+30
|
* gitlab-ci: Test master branch as wellBen Gamari2020-08-211-0/+1
| | | | | | | While these builds are strictly speaking redundant (since every commit is tested by @marge-bot before making it into `master`), they are nevertheless useful as they are displayed in the branch's commit list in GitLab's web interface. Fixes #18595.
* gitlab-ci: Use MR base commit as performance baselineBen Gamari2020-08-181-2/+18
|
* gitlab-ci: Bump bootstrap compiler to 8.8.4Ben Gamari2020-07-271-6/+6
| | | | Hopefully this will make the Windows jobs a bit more reliable.