Commit 45d33c53 by Elvin Sindrilaru

CI: Really fix the rawhide build

parent aa2228b1
Pipeline #392950 failed with stages
in 59 minutes 31 seconds
......@@ -126,7 +126,8 @@ eos_rpm_fedora_rawhide:
- dnf builddep --nogpgcheck -y build/SRPMS/*
- if [[ $CI_COMMIT_TAG ]]; then BUILD_TYPE=tag; else BUILD_TYPE=commit; fi
- if [ "$BUILD_TYPE" == "commit" ]; then source gitlab-ci/setup_ccache_fc.sh; else export CCACHE_DISABLE=1; fi
- export CXX_FLAGS="-Wno-parentheses"
# @todo: add this flag to have the rawhide build pass as it fails during boost header compilation - should be removed in the future ...
- export CXXFLAGS="-Wno-parentheses"
- rpmbuild --rebuild --with server --define "_rpmdir build/RPMS/" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" build/SRPMS/*
- ccache -s
- if [ "$BUILD_TYPE" == "tag" ]; then gpg2 --allow-secret-key-import --import /keys/stci-debian-repo.sec; printf "" | setsid rpmsign --define='%_gpg_name stci@cern.ch' --define='%_signature gpg' --addsign build/RPMS/*.rpm; fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment