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

CI: Migrate project from TravisCI to GitHub Actions #30

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

Conversation

HarshCasper
Copy link
Member

This PR:

  • Removes the .travis.yml file
  • Adds a ci.yml to build dependencies and run tests

.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
ls -a
mkdir googletest-build
cd googletest-build
sudo ../cmake-3.10.2-Linux-x86_64/bin/cmake ../googletest-release-1.10.0
Copy link
Member

Choose a reason for hiding this comment

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

I am not sure if sudo is allowed on Github actions CI. Can we create a conda environment and install dependencies there.

Copy link
Member Author

Choose a reason for hiding this comment

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

From GitHub Docs:

The Linux and macOS virtual machines both run using passwordless sudo. When you need to execute commands or install tools that require more privileges than the current user, you can use sudo without needing to provide a password.

Ref: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#about-virtual-environments

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@czgdp1807 czgdp1807 closed this Dec 1, 2021
@czgdp1807 czgdp1807 reopened this Dec 1, 2021
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@czgdp1807
Copy link
Member

Restore the travis file. Then I will merge it. We will see if Actions work on master branch.

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.

2 participants