Skip to content
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

Improve Continuous Integration System #22

Closed
feragon opened this issue Feb 27, 2019 · 0 comments
Closed

Improve Continuous Integration System #22

feragon opened this issue Feb 27, 2019 · 0 comments

Comments

@feragon
Copy link

feragon commented Feb 27, 2019

Outline

LibreCAD 3 uses Travis-CI, which compiles the code, runs the unit tests and a code linter.
The system is triggered on every pull request and on new commit in the master branch.

The build script needs improvements to help reviewing the pull requests and commits.

Details

Here are some of the problems encountered with Travis:

  • The current system is slow. It's exceeding the time limit of 50 minutes, which show the build as failed.
    Possible improvements: faster compilation, use cache for code linting, separate the code linting from compilation...

  • Travis notifies the result of a build on IRC, which may be annoying for some users.
    This can be improved by sending the notifications to a dedicated Zulip channel instead.

  • Only Linux is supported.
    The current build is only done on Linux/GCC (and Linux/clang for the linter).
    OS X could be tested too. It should work out of the box.

  • LibreCAD doesn't have publicly available binaries, so each user have to compile it before testing it.
    The binaries created by Travis could be uploaded somewhere.
    Related issues:
    Build AppImage package using GitHub Action LibreCAD/LibreCAD_3#213
    Please create a Snap of this. LibreCAD/LibreCAD_3#208

Expected Outcome

The most important task is to fix the building script, so it shows a correct result on pull requests and commits, then make it faster.

Project Properties

Skills

  • Shell
  • C++

Difficulty

medium

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants