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

Automate testing and building of deb package using GitHub Actions #63

Merged
merged 2 commits into from Oct 15, 2019

Conversation

DrauzJu
Copy link
Contributor

@DrauzJu DrauzJu commented Oct 12, 2019

Aims to close #1

With this PR, a GitHub Actions Workflow is introduced, which is triggered on every push to the master branch. It sets up the environment (Ubuntu 18.04), runs the tests, builds a deb-package and uploads it. A demo of a successful run including the produced deb-package can be found here.

As a next step, a test matrix could be introduced to test gpg and gpgme. Furthermore, it should be automatically tested if the generated deb-pacakge can be installed successfully.

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y ruby ruby-dev rubygems build-essential gnupg python-gpg libgpgme-dev swig
Copy link
Owner

Choose a reason for hiding this comment

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

What do we need the swig package for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@infertux
Copy link
Owner

This looks great! Thank you for setting that up. And I'm glad to see this in the build output:

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date.

I can't wait to drop support for Python 2 :D

@infertux infertux merged commit 5497199 into infertux:master Oct 15, 2019
@DrauzJu
Copy link
Contributor Author

DrauzJu commented Oct 15, 2019

Thanks for merging! I think you need to register here to enable GitHub Actions in the repository: https://github.com/features/actions

@infertux
Copy link
Owner

Thanks @DrauzJu! It's now live at https://github.com/infertux/zeyple/actions 😄

@DrauzJu DrauzJu deleted the actions_ci branch October 15, 2019 11:59
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.

Make a .deb package to automate the long installation
2 participants