-
Notifications
You must be signed in to change notification settings - Fork 64
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
Continuous Integration for Lingua-Franca #25
Comments
I seem to be able to run tests and create a p2 site. I created a cxb-maven-1 branch and checked in my work thus far. To replicate what I have, install mvn with
Make sure you are running Maven 3.x:
Check out the branch, compile and verify:
To run just one test:
For details about running a single test, see https://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html However, this seems not to work:
See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html for the maven goals I have notes at lingua-franca/xtext/maven.md |
My Travis-ci.com account seems not to have free access to travis-ci.com and private builds. I tried setting up the travis-ci to use the private lingua-franca repo, which created https://travis-ci.com/icyphy/lingua-franca After creating the travis-ci build or running the build itself, I got an email about starting my 100 build private repo trial. Also, it seems like travis-ci might not build non-default branches of private repos, so I would need to create a pull request for my changes from my cxb-maven-1 branch. Below are some resources: The next steps:
|
Also:
|
We will want to make the repo public, but we are not ready yet. In particular, we are still not constructing the precedence graph and assigning priorities, so our main claim, determinism, is not assured. Right now, it would be easy to get an execution that violates LF semantics.
Edward
…---------
Edward A. Lee
EECS, UC Berkeley
[email protected]
http://eecs.berkeley.edu/~eal
On Jun 6, 2019, at 8:10 PM, Christopher Brooks ***@***.***> wrote:
My Travis-ci.com account seems not to have free access to travis-ci.com and private builds. I tried setting up the travis-ci to use the private lingua-franca repo, which created https://travis-ci.com/icyphy/lingua-franca
After creating the travis-ci build or running the build itself, I got an email about starting my 100 build private repo trial.
Also, it seems like travis-ci might not build non-default branches of private repos, so I would need to create a pull request for my changes from my cxb-maven-1 branch.
Below are some resources:
Building Eclipse Plugins with Maven Tycho and Travis-CI
How to Deploy Maven Artifacts with Travis CI and packagecloud
The next steps:
validate that the Maven infrastructure is working
do a pull request for the cxb-maven-1 branch so that .travis.yml is in the default (master) branch
consider making this repo public so that we are not stuck with the 100 build limit
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
It would be good to set up continuous integration for lingua-franca. The idea here is to be sure that everything builds properly and that there is an update repository so that people could eventually use lingua-franca without checking out the repo itself.
One way to do this would be to use Maven to build any Eclipse artifacts and then use Travis to run Maven.
See https://www.eclipse.org/Xtext/documentation/350_continuous_integration.html#maven-tycho-hints
There is an example repo at https://github.com/xtext/maven-xtext-example
It might be possible to use the Maven archetype at https://github.com/fuinorg/emt-xtext-archetype
The idea here would be to use the archetype to build a fake project that has the layout of the current lingua-franca project and then copy the Maven and Tycho files in to the real repo.
I used Maven to build Triquetrum. There are random notes at https://wiki.eecs.berkeley.edu/ptexternal/Main/EclipseAndTycho See also https://wiki.eclipse.org/Triquetrum/Releng
I found that doing the initial setup had a fairly steep learning curve (looking at examples helped greatly) and eventually it all worked.
As the lingua-franca repo is private, to use Travis would require using https://travis-ci.com instead of .org. Fortunately, it it possible for iCyPhy to use the travis-ci.com via the Travis educational effort. This access might already be set up.
The text was updated successfully, but these errors were encountered: