-
Notifications
You must be signed in to change notification settings - Fork 652
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 production tarball pypi builds to cron & ensure use of correct compiler [Issue #4223] #4240
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
70bae35
Add tarball install tests and make sure we use clang with macos
IAlibay 539b8b4
increase verbosity
IAlibay f0efe47
change flag order, no binary has to be just before mdanalysis
IAlibay adef56b
some comments
IAlibay a8950c7
Update gh-ci-cron.yaml
IAlibay 4254151
Update gh-ci-cron.yaml
IAlibay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -211,16 +211,21 @@ jobs: | |
conda-latest-release: | ||
# A set of runner to check that the latest conda release works as expected | ||
if: "github.repository == 'MDAnalysis/mdanalysis'" | ||
runs-on: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }}-latest | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
os: [ubuntu, macos] | ||
python-version: ["3.9", "3.10", "3.11"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: setup_os | ||
uses: ./.github/actions/setup-os | ||
with: | ||
os-type: ${{ matrix.os }} | ||
|
||
- name: setup_micromamba | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
|
@@ -253,22 +258,37 @@ jobs: | |
pypi-latest-release: | ||
# A set of runner to check that the latest conda release works as expected | ||
if: "github.repository == 'MDAnalysis/mdanalysis'" | ||
runs-on: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }}-latest | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
os: [ubuntu, macos, windows] | ||
python-version: ["3.9", "3.10", "3.11"] | ||
wheels: ['true', 'false'] | ||
steps: | ||
# Checkout to have access to local actions (i.e. setup-os) | ||
- uses: actions/checkout@v3 | ||
|
||
# We need this here in order to make sure we assign the correct compiler (i.e. clang for macos) | ||
- name: setup_os | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a fancy action for just setting flags like CXX properly. |
||
uses: ./.github/actions/setup-os | ||
with: | ||
os-type: ${{ matrix.os }} | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: install_mdanalysis | ||
shell: bash | ||
run: | | ||
pip install mdanalysis mdanalysistests pytest-xdist pytest-timeout "gsd<3.0" | ||
# If wheels is False we build directly from source so we use the --no-binary flag | ||
# to avoid pulling down wheels for MDAnalysis (which are already precompiled) | ||
if [ "${{ matrix.wheels }}" == "false" ]; then | ||
INSTALL_FLAGS="-vvv --no-binary" | ||
fi | ||
pip install ${INSTALL_FLAGS} mdanalysis mdanalysistests pytest-xdist pytest-timeout | ||
|
||
- name: run_tests | ||
shell: bash | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For review context - we want to try to see what happens if you build either from the tarball or wheels, hence the need for this matrix entry.