Skip to content

Release nightly builds #4589

Closed
Closed

Description

@L-TChen

Following the discussion in #4328, I created a scheduled workflow script to release nightly builds with the default optimisation flags. Due to a bug of GHC, the nightly build for Windows is still built with --fast (see below). A ghc bug preventing Agda from compiling remains unsolved but it still complies without --fast if ghc tries to compile after failing.

Here are some issues I found so far:

  • The installation script introduced in [ actions ] Pack artifact with installation script #4243 puts Agda to /usr/bin, but I guess /usr/local/bin or ~/bin are more popular locations. An interactive script might be better. A system-wide installation for a nightly build does not seem a good idea.

  • macOS 10.14 enforces notarization for all apps including CLI apps. It is still possible to run nightly builds on macOS, but the user needs to go to "Security & Privacy" to authorise and click "OK" twice in total. I will check how to notarize an app, but if anyone knows how to do it please go ahead. By removing extended attributes xattr -c, the verification simply goes away. (Now I worries about the security issue on macOS ...)

  • Stack with GHC 8.8.2 (or 8.10.1) on Windows is unable to compile Agda without --fast. This is currently blocked by Access violation on Windows on GHC 8.8.3, 8.8.4, 8.10.1 and 8.10.2 #4543.

Note that I only checked the nightly builds for macOS.

Activity

  1. added
    platform: windows
    infra: github workflows
    platform:macOS
    on Apr 15, 2020
  2. added this to the 2.6.2 milestone on May 22, 2020
  3. gallais commented on Jan 7, 2021

    @gallais
    Member

    Are all the people watching the repo going to get one notification per day
    for this nightly release? Is it possible to turn that off?

    Notification

  4. L-TChen commented on Jan 7, 2021

    @L-TChen
    MemberAuthor

    Oops, it is pretty noisy. I don’t know how to turn it off.

    By the way. the nightly build is not really built every night but every time the new commit on master changing the codebase passes all test suites.

  5. L-TChen commented on Jan 7, 2021

    @L-TChen
    MemberAuthor
  6. 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

Labels

infra: github workflowsnightlyplatform: windowsplatform:macOSstackage

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions