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

Introduce CI using Github actions #415

Conversation

AleksandarZeljic
Copy link
Collaborator

@AleksandarZeljic AleksandarZeljic commented Dec 30, 2020

Adds a basic Github Actions workflow for CI which runs a matrix strategy over compilers - [gcc, clang]. For each it does the following:

  • Prepares build folder
  • Caches tools folder and compilation artifacts between runs
  • Sets up CMake
  • Runs make
  • Runs system and regression tests
  • Checks Python bindings
  • Runs code coverage for Python API

@AleksandarZeljic AleksandarZeljic merged commit 120733f into NeuralNetworkVerification:master Jan 6, 2021
@AleksandarZeljic AleksandarZeljic deleted the testDebugBuild branch January 26, 2021 20:03
matanost pushed a commit that referenced this pull request Nov 2, 2021
* Add basic CI workflow

Runs a simple workflow: Install packages, prepare build dir, run CMake, Run Make, Run CXXTest, Check python installation.

* Fix runs-on key

* Turn off Python Bindings

* Fix call to ctest

* Fix ctest call to use the build directory

* Install Python3 and dependencies

* Build Python bindings

* Check Python bindings

* Fix maraboupy path in Python Bindings Install check

* Add ccache

* Export ccache path

* Set ccache as compiler launcher

* Cache tools directory

* Check tools folder location

* Fix run command errors

* Test compile time improvement

* Split tests by type

* Test singleton Debug build

* Remove comments

* Add matrix build over

* Fix python dependency setup

* Generate and upload coverage report

* Remove tools caching  - crashes due to heterogenous architectures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants