Add config option to disable tls validation

6 jobs for master in 42 minutes and 55 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build
failed #3937
docker
appimage-amd64

00:04:02

passed #3934
docker
build-flatpak-amd64

00:08:26

passed #3935
docker-arm64
build-flatpak-arm64

00:40:19

failed #3932
docker
build-gcc7

00:04:20

passed #3933
macos
build-macos

00:23:03

passed #3936
docker
linting

00:00:34

 
Name Stage Failure
failed
appimage-amd64 Build
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 57 0 57 0 0 4384 0 --:--:-- --:--:-- --:--:-- 4384
Uploaded to mxc://neko.dev/SlWMRVXAERkhsjdoISNhsNQY
./.ci/upload-nightly-gitlab.sh: line 9: nheko-latest-x86_64.AppImage: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 289 0 52 100 237 4333 19750 --:--:-- --:--:-- --:--:-- 24083
{"errcode":"M_NOT_JSON","error":"Content not JSON."}
ERROR: Job failed: exit code 1
failed
build-gcc7 Build
../src/Cache.cpp:1216:98:   required from here
/usr/include/c++/7/variant:1252:44: error: use of 'Cache::saveStateEvent(lmdb::txn&, lmdb::dbi&, lmdb::dbi&, const string&, const T&)::<lambda(auto:1)> [with auto:1 = mtx::events::StateEvent<mtx::events::state::Aliases>; T = std::variant<mtx::events::StateEvent<mtx::events::state::Aliases>, mtx::events::StateEvent<mtx::events::state::Avatar>, mtx::events::StateEvent<mtx::events::state::CanonicalAlias>, mtx::events::StateEvent<mtx::events::state::Create>, mtx::events::StateEvent<mtx::events::state::Encryption>, mtx::events::StateEvent<mtx::events::state::GuestAccess>, mtx::events::StateEvent<mtx::events::state::HistoryVisibility>, mtx::events::StateEvent<mtx::events::state::JoinRules>, mtx::events::StateEvent<mtx::events::state::Member>, mtx::events::StateEvent<mtx::events::state::Name>, mtx::events::StateEvent<mtx::events::state::PinnedEvents>, mtx::events::StateEvent<mtx::events::state::PowerLevels>, mtx::events::StateEvent<mtx::events::state::Tombstone>, mtx::events::StateEvent<mtx::events::state::Topic>, mtx::events::EncryptedEvent<mtx::events::msg::Encrypted>, mtx::events::RedactionEvent<mtx::events::msg::Redaction>, mtx::events::Sticker, mtx::events::RoomEvent<mtx::events::msg::Reaction>, mtx::events::RoomEvent<mtx::events::msg::Redacted>, mtx::events::RoomEvent<mtx::events::msg::Audio>, mtx::events::RoomEvent<mtx::events::msg::Emote>, mtx::events::RoomEvent<mtx::events::msg::File>, mtx::events::RoomEvent<mtx::events::msg::Image>, mtx::events::RoomEvent<mtx::events::msg::Notice>, mtx::events::RoomEvent<mtx::events::msg::Text>, mtx::events::RoomEvent<mtx::events::msg::Video>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationRequest>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationStart>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationReady>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationDone>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationAccept>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationCancel>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationKey>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationMac>, mtx::events::RoomEvent<mtx::events::msg::CallInvite>, mtx::events::RoomEvent<mtx::events::msg::CallCandidates>, mtx::events::RoomEvent<mtx::events::msg::CallAnswer>, mtx::events::RoomEvent<mtx::events::msg::CallHangUp>, mtx::events::RoomEvent<mtx::events::Unknown> >]' before deduction of 'auto'
decltype(std::forward<_Visitor>(__visitor)(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
std::get<0>(std::forward<_Variants>(__variants))...));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/7/variant:1252:44: error: use of 'Cache::saveStateEvent(lmdb::txn&, lmdb::dbi&, lmdb::dbi&, const string&, const T&)::<lambda(auto:1)> [with auto:1 = mtx::events::StateEvent<mtx::events::state::Aliases>; T = std::variant<mtx::events::StateEvent<mtx::events::state::Aliases>, mtx::events::StateEvent<mtx::events::state::Avatar>, mtx::events::StateEvent<mtx::events::state::CanonicalAlias>, mtx::events::StateEvent<mtx::events::state::Create>, mtx::events::StateEvent<mtx::events::state::Encryption>, mtx::events::StateEvent<mtx::events::state::GuestAccess>, mtx::events::StateEvent<mtx::events::state::HistoryVisibility>, mtx::events::StateEvent<mtx::events::state::JoinRules>, mtx::events::StateEvent<mtx::events::state::Member>, mtx::events::StateEvent<mtx::events::state::Name>, mtx::events::StateEvent<mtx::events::state::PinnedEvents>, mtx::events::StateEvent<mtx::events::state::PowerLevels>, mtx::events::StateEvent<mtx::events::state::Tombstone>, mtx::events::StateEvent<mtx::events::state::Topic>, mtx::events::EncryptedEvent<mtx::events::msg::Encrypted>, mtx::events::RedactionEvent<mtx::events::msg::Redaction>, mtx::events::Sticker, mtx::events::RoomEvent<mtx::events::msg::Reaction>, mtx::events::RoomEvent<mtx::events::msg::Redacted>, mtx::events::RoomEvent<mtx::events::msg::Audio>, mtx::events::RoomEvent<mtx::events::msg::Emote>, mtx::events::RoomEvent<mtx::events::msg::File>, mtx::events::RoomEvent<mtx::events::msg::Image>, mtx::events::RoomEvent<mtx::events::msg::Notice>, mtx::events::RoomEvent<mtx::events::msg::Text>, mtx::events::RoomEvent<mtx::events::msg::Video>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationRequest>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationStart>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationReady>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationDone>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationAccept>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationCancel>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationKey>, mtx::events::RoomEvent<mtx::events::msg::KeyVerificationMac>, mtx::events::RoomEvent<mtx::events::msg::CallInvite>, mtx::events::RoomEvent<mtx::events::msg::CallCandidates>, mtx::events::RoomEvent<mtx::events::msg::CallAnswer>, mtx::events::RoomEvent<mtx::events::msg::CallHangUp>, mtx::events::RoomEvent<mtx::events::Unknown> >]' before deduction of 'auto'
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1