ci: check Intel runtime dependency scope

This commit is contained in:
Moritz Angermann committed 2026-10-17 13:13:26 +09:00
1 parent 6361c6bf90
commit 65ab035fe9
2 files changed
+7 -2

No files matched your search

+4 -2
View File
@@ -114,10 +114,12 @@ jobs:
timeout-minutes: 120
run: nix build .#checks.x86_64-linux.ghc-elf-comdat-functions --no-link -L --max-jobs 1 --timeout "$NIX_BUILD_TIMEOUT"
- name: Check Intel Setup failure selection
- name: Check Intel Darwin build policies
if: ${{ matrix.system == 'x86_64-darwin' && matrix.target == 'all' }}
timeout-minutes: 1
run: python3 -B scripts/nix/test-select-intel-setup.py
run: |
python3 -B scripts/nix/test-select-intel-setup.py
nix eval --json --file scripts/nix/check-darwin-bitvec-runtime.nix
- name: Check native Linux GHC ELF section alignment
if: ${{ matrix.system == 'x86_64-linux' && matrix.target == 'native' }}
+3
View File
@@ -52,6 +52,9 @@ nix eval --impure --json --file scripts/nix/check-darwin-bitvec-resolver.nix \
--apply 'test: let f = builtins.getFlake (toString ./.); in test { lib = f.inputs.haskellNix.inputs.nixpkgs.lib; haskellNix = f.inputs.haskellNix; }'
```
CI checks this platform scope before the Intel builds with
`nix eval --json --file scripts/nix/check-darwin-bitvec-runtime.nix`.
Cross projects add `ghc-internal` to the Cabal dependencies of the pinned
`composition-1.0.2.2` source. This preserves its deliberate avoidance of `base`
while making GHC 9.14's wired-in types available in isolated target package