Skip to content

Windows bundling failing (in GH Actions) #221

@andrewdavidmackenzie

Description

@andrewdavidmackenzie

I'm trying to build for MacOS, Linux and Windows in GH Actions for my meshchat app:

Here is the Cargo.toml section

# For creation of OS bundles
[package.metadata.bundle]
identifier = "meshchat.mackenzie-serres.net"
icon = ["assets/images/icon.png"]
resources = []
category = "public.app-category.social-networking" # would prefer to find a better category
short_description = "An application for chatting on the Meshtastic LoRa MESH via connected Bluetooth LE radios"
osx_frameworks = []
osx_minimum_system_version = "10.11"
#osx_url_schemes = ""
osx_info_plist_exts = ["assets/plist_exts/bluetooth.txt"]

When running in GH Actions on a release I get this error:

    Finished `release` profile [optimized] target(s) in 6m 15s
warning: MSI bundle support is still experimental.
    Bundling meshchat.msi
error: Failed to collect resource file information
  Caused by: The system cannot find the file specified. (os error 2)
Backtrace [{ fn: "BaseThreadInitThunk" }, { fn: "RtlUserThreadStart" }]

Here is the workflow that runs when I push a tag: https://github.com/andrewdavidmackenzie/meshchat/blob/main/.github/workflows/tag.yml

which runs on this matrix: os: [ ubuntu-latest, windows-latest, macos-15 ]

Which seems to build for this target: stable-x86_64-pc-windows-msvc

Which seems to be supported: https://github.com/burtonageo/cargo-bundle?tab=readme-ov-file#targets

Example GH Actions run: https://github.com/andrewdavidmackenzie/meshchat/actions/runs/19872455113/job/56951452454

Unfortunately, I don't have a windows machine to try it on locally.

Any help would be much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions