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

ci: build with crash reporter, auto updater and appimage updater #11975

Closed
wants to merge 1 commit into from

Conversation

DeepDiver1975
Copy link
Member

No description provided.

@DeepDiver1975 DeepDiver1975 marked this pull request as draft November 8, 2024 14:15
@DeepDiver1975
Copy link
Member Author

that did not work .....

}
if ("${{ matrix.target }}" -eq "linux-gcc-x86_64" ) {
# build with appimage updater and others
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set args="-DWITH_CRASHREPORTER=ON -DWITH_AUTO_UPDATER=ON -DWITH_APPIMAGEUPDATER=ON" owncloud/owncloud-client
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above


- name: Install dependencies
run: |
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --install-deps owncloud/owncloud-client
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Linux I run:

craft --set enableAppImageUpdater=True owncloud-client

before installing the deps. Then CMake will pick up the package, and turn that feature on without needing extra -D flags.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does something similar exist for crash reporter and auto updater? @erikjv

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is also not working - no trace of appimageupdater.cpp being compiled ....

Copy link
Collaborator

@erikjv erikjv Nov 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does something similar exist for crash reporter and auto updater? @erikjv

craft --search owncloud-client gives all the options, and yes there are options for that

@DeepDiver1975 DeepDiver1975 force-pushed the ci/compile-with-more-features branch 2 times, most recently from ad42998 to 0867ee9 Compare November 8, 2024 16:02
@DeepDiver1975 DeepDiver1975 changed the title ci: build crash reporter, auto updater and appimage updater ci: build with crash reporter, auto updater and appimage updater Nov 8, 2024
@DeepDiver1975 DeepDiver1975 marked this pull request as ready for review November 8, 2024 16:55
@DeepDiver1975
Copy link
Member Author

🎉

@DeepDiver1975
Copy link
Member Author

@erikjv using --set sent me on the right track - thx

}
if ("${{ matrix.target }}" -eq "linux-64-gcc" ) {
# build with appimage updater and others
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAppImageUpdater=true owncloud-client
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to do this again? This is already done in the Install dependencies step.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it has to be done again to have the env properly setup - at least this is the way I understood this.

@DeepDiver1975 DeepDiver1975 deleted the ci/compile-with-more-features branch November 12, 2024 09:30
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

Successfully merging this pull request may close these issues.

2 participants