aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
AgeCommit message (Collapse)Author
2022-07-08CI: use GCC 11 and (therefore) ubuntu-22.04Alexey Rusakov
GCC 10 ICE's[1] in qt_connection_util.h code; and ubuntu-20.04 doesn't have GCC 11. Also: patch a Qt 5.15 header when compiling with GCC because a combination of Qt 5.15 and GCC 11 in turn triggers QTBUG-91909/90568... Which in turn required moving Qt setup before the build environment setup. Life's fun. [1] Internal Compiler Error
2022-06-19CI: fix macos-10.15 leftoverAlexey Rusakov
2022-06-18CI: switch to macos-11 imageAlexey Rusakov
2022-06-17Further fix building with Qt 6Alexey Rusakov
Also: build with Qt 6 first, so that it fails sooner.
2022-06-15Rearrange CI jobs to spend time more efficientlyAlexey Rusakov
- CodeQL analysis was executed on every job that ran Clang, humping the total execution time by 10+ minutes alone. Now it only runs on a single job. - libolm is no more compiled but installed from the repo, along with libssl-dev; and both are installed in the same transaction as ninja and valgrind, shaving out one apt transaction - One more Windows job has been added to test building with Qt 6.3.1 on that OS. - Qt version is pushed earlier in the job matrix, as it becomes more significant than the compiler for a given platform.
2022-06-14CI: Switch to Qt 5.15 and introduce Qt 6 optionsAlexey Rusakov
Qt 6 builds are allowed to fail for now.
2022-06-14CI: bump used versions for GitHub ActionsAlexey Rusakov
Also, use MSVC 2019 on Windows.
2022-06-12Merge branch 'kitsune/more-gtad-fixes' into devAlexey Rusakov
2022-06-12Reduce the number of CI jobsAlexey Rusakov
It takes well over an hour to build the whole lineup for now; while the single right fix for that is making quotest capable of running in parallel, a few GCC jobs can be safely dropped for now (and we'll see if they should be brought back when parallel quotest unleashes the CI).
2022-06-12CI: No more allow failure of update-api jobsAlexey Rusakov
2022-06-07CI: use GTAD submoduleAlexey Rusakov
Also: make all cloning for update-api shallow, for optimisation.
2022-05-31Merge branch 'dev' into update-api-updateAlexey Rusakov
2022-05-31Update gtad.yml to match v3 API definitionsAlexey Rusakov
Also: use quotient-im/matrix-spec main branch again, now that it has adjusted definitions; drop un(der)used partials
2022-05-30CI: Build with QtKeychain 0.13.2Alexey Rusakov
QtKeychain master suffers from https://github.com/frankosterfeld/qtkeychain/issues/213.
2022-05-21Use branch of matrix-specTobias Fella
2022-05-20Adapt update-api target to matrix-doc splitTobias Fella
2022-02-27Build with shared libs for SonarAlexey Rusakov
Building with static libs fails on QtKeychain apparently underlinking with glib when --coverage is passed.
2022-02-27CI: switch sonar CI config to include E2EEAlexey Rusakov
2022-02-25Don't run e2ee on macosTobias Fella
2022-02-18Only testolmaccount on LinuxAlexey Rusakov
On other platforms Docker fails to stand up the container.
2022-02-18CI: setup mock Synapse before running ctestAlexey Rusakov
To use this in CI required extending/fixing autotests/run-tests.sh: it can now accept arguments that are further passed to ctest invocation, and it no more cd's to the build directory because build directories can be in all kinds of places, expecting the caller to pick the directory upfront.
2022-02-16ci.yml: enable E2EE pipelines againAlexey Rusakov
The whole cycle will get terribly long again; looking forward to parallel quotest...
2022-02-13Merge branch 'dev'Alexey Rusakov
The result is FTBFS as yet; next commits will fix that, along with a few other things.
2022-01-02Manage symbols visibility for dynamic linkingAlexey Rusakov
2022-01-01Only test dynamic linking on LinuxAlexey Rusakov
On Windows and macOS, the assumed practice is to package things up in a monolithic distribution package. On Linux, fine-grained library packages are installed. After adding CMAKE_INSTALL_RPATH_USE_LINK_PATH dynamic linkage is testable on macOS but that's not the "proper" way to install things on the platform, anyway. It also probably works on Windows but I couldn't get a workable setup for quotest after a few attempts. Perhaps it's a matter of running windeployqt instead of trying to figure out and add to PATH all the locations needed; or maybe not; I don't have the motivation to explore this further.
2022-01-01BUILD_SHARED_LIBS in most jobs; fix not finding libQuotient.so.*Alexey Rusakov
2022-01-01CI: add events.debug to QT_LOGGING_RULESAlexey Rusakov
2022-01-01CI: up to Qt 5.12.12Alexey Rusakov
2021-12-29CI: Put the shared object configuration to the testAlexey Rusakov
For now on Linux with GCC only, with a plan to add Windows eventually.
2021-12-24CI: Fix rm being run in the wrong directoryAlexey Rusakov
It's been alright with the comment inside the script.
2021-12-24CI: Move a comment outside of the scriptAlexey Rusakov
Comments inside shell scripts apparently break the flimsy GHA machinery.
2021-12-24CI: Add missing coverage filesAlexey Rusakov
2021-12-24Reinstate update-api jobsAlexey Rusakov
2021-12-24Don't strip lib from names in .gcov filesAlexey Rusakov
That apparently confuses Sonar as it fails to match the source files.
2021-12-24Analyse in 2 threadsAlexey Rusakov
2021-12-24Actually do and submit coverageAlexey Rusakov
...instead of hoping the thing will sort itself out because CLion does.
2021-12-24Merge Sonar invocation back to ci.ymlAlexey Rusakov
For coverage analysis to work, a test run is needed, making the overlap between ci.yaml and sonar.yml quite significant again. Note: 'update-api' option is temporarily dropped from the matrix to speed up the check. If things run fine, 'update-api' will come back.
2021-12-09Fix CI failure on macOSAlexey Rusakov
CMAKE_INSTALL_RPATH_USE_LINK_PATH is more universal than setting LD_LIBRARY_PATH Also: drop an extra slash in the path to installed quotest.
2021-12-08Test installed quotestAlexey Rusakov
This covers Quotient_INSTALL_TESTS setting.
2021-12-07CI: Put all build directories to ${{ runner.workspace }}/buildAlexey Rusakov
2021-12-07Fix valgrind invocation failureAlexey Rusakov
It turned out that, confusingly, ${{ runner.workspace }} refers to the directory above $GITHUB_WORKSPACE, which is why the previous commit ended up with valgrind not finding its suppressions.
2021-12-07Fix quotest invocation; use working-directoryAlexey Rusakov
2021-12-06Add execution of autotests to CIAlexey Rusakov
2021-12-01Try fixing windows CITobias Fella
2021-12-01We always need qtkeychainCarl Schwan
2021-12-01Try adding qtkeychain to github CITobias Fella
2021-12-01Try fixing the CITobias Fella
2021-12-01Fix CICarl Schwan
2021-11-27Add SonarCloud analysis to CIAlexey Rusakov
2021-11-24Merge pull request #521 from quotient-im/kitsune-unread-statisticsAlexey Rusakov