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

Automatically deploy packages for Ubuntu and macOS #676

Merged
merged 1 commit into from
Mar 14, 2020
Merged

Conversation

AlexDenisov
Copy link
Member

@AlexDenisov AlexDenisov commented Mar 11, 2020

How to install nightly builds of mull:

Add new apt repo:

sudo echo "deb https://dl.bintray.com/mull-project/ubuntu nightly main" >> /etc/apt/sources.list

Add the bintray GPG key:

wget https://bintray.com/user/downloadSubjectPublicKey?username=bintray -O bintray.key
sudo apt-key add bintray.key

Update index & install mull:

sudo apt-get update
sudo apt-get install mull

Run mull:

mull-cxx --version

@AlexDenisov AlexDenisov force-pushed the deployment branch 30 times, most recently from 9e6a0f6 to 23bb50d Compare March 12, 2020 12:07
@AlexDenisov AlexDenisov force-pushed the deployment branch 13 times, most recently from 8490f10 to 3d3a9d6 Compare March 13, 2020 20:24
@AlexDenisov AlexDenisov changed the title [WIP] Deployment Automatically deploy packages for Ubuntu and macOS Mar 13, 2020
@stanislaw
Copy link
Member

Testing this from Ubuntu Docker image:

All steps are working except these two points:

  1. After the sudo apt-key add bintray.key step:
$ sudo apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
E: Failed to fetch https://dl.bintray.com/mull-project/ubuntu/dists/nightly/InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.

Had to run this:

root@54d46782d0a0:/app# apt install apt-transport-https
  1. Then I am getting this:
root@54d46782d0a0:/app# mull-cxx --version
mull-cxx: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by mull-cxx)
mull-cxx: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by mull-cxx)

@AlexDenisov AlexDenisov force-pushed the deployment branch 3 times, most recently from a55f506 to 42ec820 Compare March 14, 2020 09:42
@AlexDenisov
Copy link
Member Author

Fair enough! I built the packages on Ubuntu 18.04, but now I also added Ubuntu 16.04.

Now, the repos are:

deb https://dl.bintray.com/mull-project/ubuntu-16 nightly main
deb https://dl.bintray.com/mull-project/ubuntu-18 nightly main

You can try that as soon as the PR gets green @stanislaw.

@stanislaw
Copy link
Member

I can confirm that it now works on my end!

root@d67ba8a23c4f:/app# mull-cxx -version
Mull: LLVM-based mutation testing
https://github.com/mull-project/mull
Version: 0.6.1.676
Commit: cf0de03
Date: 14 Mar 2020
LLVM: 8.0.0

And it is an amazing workflow!

@AlexDenisov AlexDenisov force-pushed the deployment branch 4 times, most recently from 3270604 to 4e06534 Compare March 14, 2020 11:16
@AlexDenisov
Copy link
Member Author

Hi @chgans, in one of the issues you mentioned that you compile Mull from sources yourself.

I'd appreciate it if you can give a try to this distribution mechanism and share some feedback.
Here are the right instructions that should work as is (assuming you are on Ubuntu 18):

sudo echo "deb https://dl.bintray.com/mull-project/ubuntu-18 nightly main" >> /etc/apt/sources.list
wget https://bintray.com/user/downloadSubjectPublicKey?username=bintray -O bintray.key
sudo apt-key add bintray.key
sudo apt-get update
sudo apt-get install mull
mull-cxx --version

You should see something like Version: 0.6.1-trunk4242.

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