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

Add Support for Github Actions CI #118

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ParthPratim
Copy link
Contributor

@ParthPratim ParthPratim commented Jun 19, 2021

Signed-off-by: Parth Pratim Chatterjee [email protected]

Adds support for Github Actions CI/Test Workflow

Key Features :

  1. Build Time :
    1. Non-Cached : 36-42 minutes
    2. Cached : 24-26 minutes
  2. ns-3-dev HEAD commit based cache loading (saves around 16 mins of build time)
  3. Simple list based job addition using job matrix
  4. Custom non-sudo docker
  5. Native target repo checkout usage
  6. README badge for build status

ToDo :

  1. Add a feature to support dynamic bake configurations through a comma based delimiter.

This PR was made as a part of Google Summer of Code 2021 for the project Direct Code Execution Modernization

Signed-off-by: Parth Pratim Chatterjee <[email protected]>

env:
BAKE_GIT: 'https://gitlab.com/nsnam/bake.git'
BAKE_CONFIG: 'dce-linux-dev' # list-type, for each entry, -e {bake_config_entry} ... , will be added
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ToDo: Add delimiter based dynamic configuration for bake

Signed-off-by: Parth Pratim Chatterjee <[email protected]>
@ParthPratim
Copy link
Contributor Author

I just added the Ubuntu-20.04 docker and disabled Ubuntu-16.04.

The branch would show a failing sign as of now in GActions because the current ns-3-dce repo code isn't in sync with Ubuntu-20.04. But, post merging PRs for adding Ubuntu-20.04 support the build and tests should pass with a green.

@ParthPratim ParthPratim marked this pull request as ready for review July 16, 2021 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant