-
Notifications
You must be signed in to change notification settings - Fork 663
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
Conversation
that did not work ..... |
.github/workflows/main.yml
Outdated
} | ||
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 ....
There was a problem hiding this comment.
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
ad42998
to
0867ee9
Compare
0867ee9
to
c4dad84
Compare
c4dad84
to
091d5f0
Compare
🎉 |
@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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
No description provided.