Let's suppose the new version of GHC is X.Y.Z.
cabal update
Install the tools in the build-tools
field(s) of Agda.cabal.
Install Agda dependencies:
cabal install --enable-test --only-dependencies
make install-bin
fix-whitespace
program and test it:make fix-whitespace
make test
Test the different flags for installing Agda describes in Agda.cabal.
Ensure that cabal haddock works:
make haddock
hs-tags
program and test it:make TAGS
make install-size-solver
cabal install shelltestrunner
make test-size-solver
make install-agda-bisect
Test the closed-issues-for-milestone
program.
Update the tested-with
field in .cabal files.
If GHC X.Y.Z is a bug-fix release run
./src/release-tools/change-tested-with-field.bash X.Y.(Z-1) X.Y.Z
else update manually the field.
Update the tested-with
field in std-lib/lib.agda.
STACKAGE
Create stack-X.Y.Z.yaml
using as resolver ghc-X.Y.Z
.
Test the build using stack-X.Y.Z.yaml
.
Add stack-X.Y.Z.yaml
to the extra-source-files
field in
Agda.cabal.
Travis: Add an instance for GHC X.Y.Z.
GitHub workflows: Add GHC X.Y.Z to all the workflows using GHC.
Update the CHANGELOG files (Agda and the standard library):
Installation and infrastructure
-------------------------------
* Added support for GHC X.Y.Z.
User manual: Update the tested versions of GHC in
/doc/user-manual/getting-started/installation.rst
.
Add the file .ghciXY
and modify the .ghci
.
Record your changes in the stable branch.
Merge the stable branch into the master.
Push the stable and master branches.