aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
AgeCommit message (Collapse)Author
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-11-27Add SonarCloud analysis to CIAlexey Rusakov
2021-11-24Merge pull request #521 from quotient-im/kitsune-unread-statisticsAlexey Rusakov
2021-11-21CI: Restrict workflow concurrency; tighten job timeoutAlexey Rusakov
2021-11-21CI: Nicer and more detailed logging for quotestAlexey Rusakov
2021-11-19continue-on-error on the job levelAlexey Rusakov
Continue on the step level marks the whole job as successful which is not really accurate.
2021-11-19Add continue-on-error for regenerated API filesAlexey Rusakov
The current upstream API definitions are expected to fail the test.
2021-09-03CI experiment: requires GCC 10 and Clang 11Alexey Rusakov
2021-09-01Change GTAD/matrix-doc pathsAlexey Rusakov
`${{ runner.workspace }}` is, unfortunately, not portable to Windows.
2021-09-01Add update-api on Windows pipelineAlexey Rusakov
2021-09-01Fix bin path differences between POSIX and WindowsAlexey Rusakov
2021-09-01Add Windows, CodeQLAlexey Rusakov
Windows and CodeQL snippets picked from Quaternion
2021-06-23Step to Ubuntu 20.04; drop (old) E2EE code buildingAlexey Rusakov
2021-06-13CI: version Qt cacheAlexey Rusakov
2021-06-13CI: Use Qt 5.12, as required from nowAlexey Rusakov
2021-04-26CI: Use GCC 9 where GCC 8 wasAlexey Rusakov
GitHub images no more have GCC 8.
2021-01-25Revert to running quotest from the source treeAlexey Rusakov
For some reason the installed one doesn't find QtTest dynamic library.
2021-01-25Make quotest origin even more informativeAlexey Rusakov
2021-01-25CI: build libraries staticallyAlexey Rusakov
Shared libraries are a bit of a chore to handle, maybe another time.
2021-01-25Use NinjaAlexey Rusakov
2021-01-25CI: install to ~/.local; invoke quotest from thereAlexey Rusakov
That way InstallQuotest feature is also tested. Also fix the Valgrind suppression file path. Also: use cmake arguments instead of pushd/popd dance
2021-01-25CI: include github.ref in the quotest originAlexey Rusakov
2021-01-25CI: no need to explicitly build quotestAlexey Rusakov
Now that CTest is included, quotest target should build (and install) automatically together with the library.
2021-01-22Adjust according to the just merged PRAlexey Rusakov
2021-01-11Ok, do the same in a different wayKitsune Ral
2021-01-11Don't run the test if TEST_USER is emptyKitsune Ral
2021-01-11Add a timeout to quotest runsKitsune Ral
The current Quotest gets stuck somewhere, and the its big internal 3-minute watchdog doesn't cut it for some reason. While investigating that, an external timeout would be quite handy.
2021-01-02Add Valgrind on LinuxKitsune Ral
2021-01-01GTAD requires GCC 8 at leastKitsune Ral
2021-01-01Add update-api supportKitsune Ral
Along adding update-api support DESTDIR and CMAKE_ARGS were moved to the environment setup step in order to use `${{ runner.workspace }}` for installation and not pollute `${{ github.workspace }}` where libQuotient sources reside.
2021-01-01Better quotest origin line; setup CC/CXX globallyKitsune Ral
There's no "job number" anymore but a textual description of the job is even better.