[Git][ghc/ghc][wip/mangoiv/27817] fixup! ci: make lint-adjacent jobs into platform independent
Magnus pushed to branch wip/mangoiv/27817 at Glasgow Haskell Compiler / GHC Commits: 07f8cae0 by mangoiv at 2026-09-18T12:57:32+02:00 fixup! ci: make lint-adjacent jobs into platform independent - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -143,12 +143,15 @@ workflow: - *drafts-can-fail-lint - when: always +.install-deps: &install-ghc-toolchain + - apt update + - apt install -qy ghc cabal-install build-essential curl libffi-dev libffi8 libgmp-dev libgmp10 libncurses-dev libncurses6 libtinfo6 pkg-config python3 cmake git happy alex autoconf automake python3 libgmp-dev libnuma-dev libncurses-dev + # linting but we need a boot toolchain .lint-ghc-toolchain: extends: .lint before_script: - - apt update - - apt install -qy ghc cabal-install build-essential curl libffi-dev libffi8 libgmp-dev libgmp10 libncurses-dev libncurses6 libtinfo6 pkg-config python3 cmake git happy alex autoconf automake python3 libgmp-dev libnuma-dev libncurses-dev + - *install-ghc-toolchain - git config --global --add safe.directory "$CI_PROJECT_DIR" # linting but we need python @@ -416,8 +419,9 @@ lint-submods-branch: .lint-params: needs: [] - extends: .lint-ghc-toolchain + extends: .lint before_script: + - *install-ghc-toolchain - .gitlab/ci.sh setup after_script: - .gitlab/ci.sh save_cache View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/07f8cae08ea5b6fbef89dbc31559e5c6... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/07f8cae08ea5b6fbef89dbc31559e5c6... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Magnus (@MangoIV)