Skip to content

Installer script for nightly build doesn't work: size-solver binary only exists for Windows #4803

Closed

Description

@alan-j-hu

Hello. I want to install Agda without building it from source with Cabal. I found this PR: #4243 I downloaded the Linux build artifact from https://github.com/agda/agda/actions/runs/177978016 and attempted to run the included installation script (https://github.com/agda/agda/blob/master/.github/install_agda_user.sh). However, I encountered an error because the size-solver binary, which the installation script attempts to give executable permissions, wasn't in the bin directory.

According to the GitHub workflow file: https://github.com/agda/agda/blob/master/.github/workflows/nightly.yml, the size-solver binary is only uploaded for Windows.

Thank you all for your time. I would love to have an accessible way to download an up-to-date Agda binary.

Activity

  1. added
    infra: github workflows
    on Jul 23, 2020
  2. rwe commented on Jul 23, 2020

    @rwe
    Contributor

    That looks easy enough to fix. I'll take a quick stab. @dosaylazy thank you for the very clear bug report + investigation!

  3. added 2 commits that reference this issue on Jul 23, 2020
    58ed871
    5798d85
  4. added a commit that references this issue on Jul 24, 2020
    8f24ee6
  5. rwe commented on Jul 24, 2020

    @rwe
    Contributor

    @dosaylazy — This is now fixed and the latest nightly artifacts (https://github.com/agda/agda/actions/runs/180713073) now include size-solver

  6. asr commented on Jul 24, 2020

    @asr
    Member

    Well, if the binary is for the final users it shouldn't include the size-solver program.

  7. rwe commented on Jul 24, 2020

    @rwe
    Contributor

    @asr I marginally suspected that, but wasn't sure. It was included in the install script (per this issue) which was breaking because it was missing, and it was included in the Windows distribution. Perhaps another issue to remove it entirely?

  8. asr commented on Jul 25, 2020

    @asr
    Member

    Perhaps another issue to remove it entirely?

    Yes, please. There are some things we should improve if we want to distribute a binary for Agda.

  9. rwe commented on Jul 25, 2020

    @rwe
    Contributor

    @asr Ok, I've created an issue to track that.

  10. added
    nightly
    on May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    infra: github workflowsnightly

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions