Nightly build download on MacOS not installing

I believe this to be a bug with Avogadro (although it could be me!)

Environment Information

Avogadro version: Nightly build (Mon 24th Feb 2025)
Operating system and version: MacOS Sonoma 14.6.1

Expected Behavior

Click on the MacOS Nightly build release link and download a dmg file.

Actual Behavior

Clicked on the MacOS Nightly build release link, the file “macOS.dmg.zip” is downloaded (using Chrome) with a file size of 673 bytes. After unzipping, the file AvogadroCPackOptions.cmake becomes available.

I’m not sure what to do with this file.

Many thanks for your support
Anthony

Ugh. Let me take a look. Are you using the Intel or ARM nightly builds?

Thank you. I was trying to download the Mac Intel nightly build.

I had the official version 1.100 release for Mac installed, but found the selection tool was not working. Thus, I tried downloading a nightly build to see if that worked.

Thanks for the help. It’s really appreciated.

Just bumping this. The Mac Intel Nightly Build downloads “AvogadroCPackOptions.cmake” (zipped as “macOS.dmg.zip”), instead of the dmg.

Yeah, the Mac nightly build sometimes fails to create a DMG image. Unfortunately, there’s not a great way to detect this.

I see, thanks for clarifying. As long as it works most (or at least some) of the time, I’ll come back until I’ve got it :slight_smile: (I guess Intel Macs are on the Red List anyway, so this issue will eventually resolve itself by obsolescence…)

@hmsenn I believe the most recent successful macOS build is this one, which appears to be a straightforward DMG without any ZIP compression. Does it work for you?

@ghutchis, is there a workflow or somewhere public I should be looking to learn how the nightlies get extracted from the workflow artifacts?

Also, the nightlies are packaged as .zip archives – wouldn’t it be easier just to match the main releases by providing the .exe, .dmg, .AppImage as direct downloads?

Thanks, @matterhorn103, but the link in your answer is dead (404 page not found).

No, the main thing is to update the Mac build script to use a newer OS version, make sure it only builds Intel, and check a bit more carefully if the DMG is built (e.g., loop until that happens).

It’s been on the todo list, but it’s a busy part of the semester.

Really? They both work fine for me…

@Anthony_Nash @hmsenn The links for the nightly downloads should now all work, both at https://two.avogadro.cc/install/ and on GitHub at https://github.com/OpenChemistry/avogadrolibs.

Thanks, @matterhorn103, but the issue is unchanged: the Mac Intel Nightly Build is still a cmake file (instead of a full dmg).

Yeah, the underlying problem remains. Generating a Mac DMG on an un-attended server is unreliable.

I’ll have time to fixup a bunch of things next week once classes are done here at Pitt.