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

Migrate most of CI to Github Actions #881

Merged
merged 19 commits into from
Sep 3, 2020

Conversation

mtreinish
Copy link
Member

@mtreinish mtreinish commented Aug 12, 2020

Summary

Since the period with an extra 10 concurrent job on travis is ending and
there is already extensive resource contention in the shared azure
pipelines instance for the qiskit organization we need to find an
alternative for CI to maintain job throughput. This commit migrates all
the existing CI jobs to github actions which has a very generous quota
for open source projects. The only jobs we'll still use travis for after
this are on non-x86 platforms because nothing else offers that.

Details and comments

Fix build system on windows
Add wheel publish jobs for windows

  • Add docs job
  • Add lint job

Since the period with an extra 10 concurrent job on travis is ending and
there is already extensive resource contention in the shared azure
pipelines instance for the qiskit organization we need to find an
alternative for CI to maintain job throughput. This commit migrates all
the existing CI jobs to github actions which has a very generous quota
for open source projects. The only jobs we'll still use travis for after
this are on non-x86 platforms because nothing else offers that.
@atilag atilag requested a review from vvilpas August 17, 2020 14:34
@mtreinish
Copy link
Member Author

So I've managed to get the wheel builds working on windows (still need to figure out why the sdist build can't find MSVC) but I was only able to get this working with the latest version of visual studio. Doing some searching I've come across actions/runner-images#387 which explains it, there is no vs2015 env installed on the vm. We still advertise vs2015 support so I'm thinking we might want to keep azure pipelines for windows just for now.

This commit switches back to using azure pipelines for wheel and sdist
jobs amd wheel publish jobs. This should use VS 2015 and workaround the
sdist build job issue we're having in GHA.
@mtreinish mtreinish changed the title [WIP] Migrate all CI to Github Actions [WIP] Migrate most CI to Github Actions Sep 2, 2020
@mtreinish mtreinish changed the title [WIP] Migrate most CI to Github Actions Migrate most CI to Github Actions Sep 2, 2020
@mtreinish mtreinish changed the title Migrate most CI to Github Actions Migrate most of CI to Github Actions Sep 2, 2020
@mtreinish mtreinish merged commit 097926f into Qiskit:master Sep 3, 2020
@mtreinish mtreinish deleted the migrate-to-gha branch September 3, 2020 16:00
mtreinish added a commit to mtreinish/qiskit-aer that referenced this pull request Oct 19, 2020
In the recent aer 0.7.0 release we noticed that in the migration of CI
jobs to github actions in Qiskit#881 the job to create and publish and sdist
at release time was lost. This commit corrects this and adds a new job
to create and publish to pypi the qiskit-aer sdist at release time.
chriseclectic pushed a commit that referenced this pull request Oct 20, 2020
In the recent aer 0.7.0 release we noticed that in the migration of CI
jobs to github actions in #881 the job to create and publish and sdist
at release time was lost. This commit corrects this and adds a new job
to create and publish to pypi the qiskit-aer sdist at release time.
mtreinish added a commit to mtreinish/qiskit-aer that referenced this pull request Nov 12, 2020
In the recent aer 0.7.0 release we noticed that in the migration of CI
jobs to github actions in Qiskit#881 the job to create and publish and sdist
at release time was lost. This commit corrects this and adds a new job
to create and publish to pypi the qiskit-aer sdist at release time.

(cherry picked from commit cb5f414)
chriseclectic pushed a commit to chriseclectic/qiskit-aer that referenced this pull request Jan 25, 2021
In the recent aer 0.7.0 release we noticed that in the migration of CI
jobs to github actions in Qiskit#881 the job to create and publish and sdist
at release time was lost. This commit corrects this and adds a new job
to create and publish to pypi the qiskit-aer sdist at release time.

(cherry picked from commit cb5f414)
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