Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running candle to generate wixobj while building Windows in Github Actions #191

Open
nicolabeghin opened this issue Jun 5, 2024 · 0 comments

Comments

@nicolabeghin
Copy link

nicolabeghin commented Jun 5, 2024

Following provided official reference https://github.com/gluonhq/hello-gluon-ci/blob/master/.github/workflows/windows.yml I set up Github Actions to package a JavaFX app at https://github.com/nicolabeghin/sap-commerce-cloud-management-api-gui/blob/native/.github/workflows/gradle.yml#L86

While Linux and MacOSX build successfully, the Windows one fails with

Error running candle to generate wixobj

I can see from
https://github.com/gluonhq/substrate/blob/master/src/main/java/com/gluonhq/substrate/util/windows/MSIBundler.java#L148 it's because Wix Compiler is not found, therefore I assume it's missing something in the Github Action example?

    if (candle.runProcess("Wix Compiler") != 0) {
        throw new IOException("Error running candle to generate wixobj");
    }

Whole stacktrace available at https://github.com/nicolabeghin/sap-commerce-cloud-management-api-gui/actions/runs/9382009047/job/25832508175

Also checked similar issue gluonhq/substrate#1085 by adding additional build.gradle properties but still no luck

thanks
nicola

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant