Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitLab CI: Simplify finding binaries (copy #2669) #2671

Merged
merged 1 commit into from
Nov 5, 2024

Commits on Nov 5, 2024

  1. GitLab CI: Simplify finding binaries (#2669)

    The `build` job creates an artifact that subsequent jobs download to run
    the tests. The jobs that actually run the tests cannot use
    `cabal list-bin` because the artifact doesn't include enough of the
    build data. We can simplify finding the binaries by having the artifact
    include symlinks to the binaries, created in the `build` job where
    `cabal list-bin` still works.
    
    The artifact included some bits that seem redundant since PR #2403, they
    have been removed.
    
    GHC versions in CI are updated to the latest point release, and include
    GHC 9.10.1 in preparation for PR #2790.
    
    Fixed a mistake in the Docker image: use the same Ubuntu version for
    building and for running.
    
    In GitLab CI, the `after_script` cannot use environment variables set in
    `before_script` or `script`. We use `zstd -T$THREADS` in `after_script`.
    Before this commit, that rendered to `zstd -T` which happens to mean
    "use all cores" and worked fine but was unintended.
    
    Triggered child pipelines (`.ci/gitlab/test.yml`) did not have
    `interruptible: true` set. Moved the `default` section into
    `.ci/gitlab/common.yml`.
    
    Some GitHub actions were upgraded because the old ones were deprecated.
    However, we keep `haskell/actions/setup@v2` for now because the newer
    one has issues on macOS with GHC's 8.6-9.0. Notethat it would seem we've
    been running an x86-64 GHC on an aarch64 macOS runner for quite some
    time already, and continue doing so.
    
    (cherry picked from commit b96bf07)
    DigitalBrains1 committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    48c2890 View commit details
    Browse the repository at this point in the history