Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds automated builds using Cirrus CI, which offers M1 runners. The build process performed is similar to the current GH Actions Mac CI, which uses Stack. The main process changes include:
brew install
: addlibtool haskell-stack hpack
which are not available by default.--extra-include-dirs=/opt/homebrew/include --extra-lib-dirs=/opt/homebrew/lib
: Fixes failure to link with gmp.not needed anymore with lts-20.05--resolver=ghc-8.10.7
,--compiler=ghc-8.10.7
: GHC 8.10.4 is not available on M1. 8.10.5 hanged during build 😞 8.10.7 works fine 🎉--with-hpack hpack
to fix support for GHC2021: How to overridedefault-language
to GHC2021 (for use with GHC9.2.2) commercialhaskell/stack#5739Enabling the CI requires installing a GitHub Application to the org/repository.
Example build: https://cirrus-ci.com/task/6248730202996736