#Error building for OSX and Windows on GitHub Actions

12 messages · Page 1 of 1 (latest)

wicked sleet
#

Quick: this failed github job will tell you more than I can:

https://github.com/ildella/noa/actions/workflows/main.yml

Windows - kinda dumb error...
failed to bundle project: optional pre-release identifier in app version must be numeric-only and cannot be greater than 65535 for msi target

OSX has generic error

failed to bundle project: error running bundle_dmg.sh: `failed to run /Users/runner/work/noa/noa/tauri/target/x86_64-apple-darwin/release/bundle/dmg/bundle_dmg.sh`

I do not have those platform so I have never seen it build succesfully and there is not special config
Ubuntu build works as it does on my laptop indeed.
It also build properly for Android on my laptop, not sure if I can run that on GitHub as well...

GitHub

NOA - Nostr Onboarding App (multi-platform). Contribute to ildella/noa development by creating an account on GitHub.

#

(side question: it is compiling everything all the time.. there's no way to cache it?)

quiet hedge
# wicked sleet Quick: this failed github job will tell you more than I can: https://github.co...

Howdy fellow Nostr dev. 🫡 ⚡

For windows (MSI) target I don't believe you can include a string like beta, which I see in your package.json, something like 0.6.4-1 might work better.

The MacOS issue there is obviously much more vague haha, I am using MacOS myself, but don't have the storage to compile your project locally, there is a chance that MacOS DMG bundling has a similar versioning limitation, but I'm not certain on that.

wicked sleet
#

Great to find nostr devs / users around 🙂

For the verision, I see the issue: the version is generated by cargo... I'll check if I can remove the beta string.

For OSX, maybe it requires signing even to just build the package, and not just to release it on the store?
The error is not clear anyway.

wicked sleet
#

Ok now with a numeric only version, windows got a step furgher, and failed with:

    Info extracting WIX
    Info Target: x64
failed to bundle project: `The system cannot find the file specified. (os error 2)`
    Error failed to bundle project: `The system cannot find the file specified. (os error 2)`
Error: Command "yarn ["tauri","build"]" failed with exit code 1```
#

Error building for OSX and Windows on GitHub Actions

halcyon dock
#

probably helps with the dmg too (and no, signing is not required to build)

wicked sleet
#

ok, progress for OSX, was not finding the LICENSE file...

#

it worked!

wicked sleet
#

OSX worked.
-vvv on windows is probably too much verbosity 🙂