i fork the ghc repo from github and use the following workflow
on: push
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@main
- run: |
git submodule update --init --recursive
sudo apt install -y --no-install-recommends alex happy
python3 boot
./configure
hadrian/build
Warning: Specifying an absolute path to the project file is deprecated. Use
1178--project-dir to set the project's directory.
1179Config file path source is default config file.
1180Config file not found: /home/runner/.config/cabal/config
1181Writing default configuration to /home/runner/.config/cabal/config
1182Configuration is affected by the following files:
1185update' to download it.
1187requested timestamp (2025-01-27T17:45:32Z). Also, there are no index-states
1190Resolving dependencies...
1192Could not resolve dependencies:
1193[__0] trying: hadrian-0.1.0.0 (user goal)
1194[__1] trying: hadrian:+selftest
1195[__2] unknown package: QuickCheck (dependency of hadrian +selftest)
1196[__2] fail (backjumping, conflict set: QuickCheck, hadrian, hadrian:selftest)
1197After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: hadrian, hadrian:selftest, QuickCheck i have no idea what happen. please help.