-
Notifications
You must be signed in to change notification settings - Fork 52
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
Trigger actions for PRs and pin the version of libcimpp #329
Conversation
Signed-off-by: Ghassen Nakti <[email protected]>
It looks like there is a non-related problem (the Windows runner changed) that maybe is also possible to solve in the PR or in a different one, by explicitly installing this library just after the checkout process... In theory, the solution could be something like this... - name: Install dependencies (LibXml2)
uses: microsoft/vcpkg-action@v2
with:
vcpkgArgs: install libxml2 and later, adding it to the path for cmake cmake -DWITH_PYBIND=OFF -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake .. |
Thanks @leonardocarreras! |
Maybe the failing pipeline is caused by sogno-platform/libcimpp#29 ? If thats the case, we should really pin the version of libcimpp which is used to avoid such breakage in the future. /cc @m-mirz |
@stv0g yes, the version should be pinned. I thought this was already the case. In this libcimpp PR we dropped support for every parser except libxml. So windows does not work out of the box but with @leonardocarreras suggestion it might work. Let me know if you think this change causes too many issues. Basically, I would like to get rid of the arabica library. |
I edited the PR to pin the version of libcimpp. Let's do that first and then test the proposition of @leonardocarreras in a separate PR. |
Signed-off-by: Leonardo Carreras <[email protected]>
…hen triggering in a fork Signed-off-by: Leonardo Carreras <[email protected]>
9b6af33
to
8938996
Compare
@gnakti I added a pinning to the library for cmake and for the containers, and also fixed the sonarcloud execution by skipping gracefully when the secrets are not visible due to the package being triggered in a fork... |
on: push
to be additionally triggeredon: pull_request
. Activity types set totypes: [opened, synchronize, reopened]
. For more details see here. An optimised version of this is to additionally prevent feature branches to trigger on push when they already have a PR:on: [push, pull_request]