-
Notifications
You must be signed in to change notification settings - Fork 36
CI Fix compilation issue with OpenMP inside conda env #237
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
Changes from all commits
4a8a0a9
5c152cd
8af0d59
021105d
f44b65c
6d21ed3
ed263d4
4e421d6
2e40f13
8abf650
eaaa9a4
d7b2f6c
1a49ecd
9c58b85
dc73c34
868e89f
4104a66
5e8af1d
816d47f
354d21e
dc4ee31
b9b78c6
419f0c6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ on: | |
| # Cancel in-progress workflows when pushing | ||
| # a new commit on the same branch | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
|
|
@@ -214,7 +214,7 @@ jobs: | |
| run: | ||
| # Need to use this shell to get conda working properly. | ||
| # See https://github.com/marketplace/actions/setup-miniconda#important | ||
| shell: ${{ matrix.os == 'windows-latest' && 'cmd /C CALL {0}' || 'bash -el {0}' }} | ||
| shell: 'bash -el {0}' | ||
|
Member
Author
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 made my life easier to always use bash, probably an historical thing to use CMD on Windows, not 100% sure |
||
|
|
||
|
|
||
| steps: | ||
|
|
@@ -239,11 +239,11 @@ jobs: | |
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| bash -el continuous_integration/install.sh | ||
| ./continuous_integration/install.sh | ||
|
Member
Author
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. not using |
||
|
|
||
| - name: Test library | ||
| run: | | ||
| bash -el continuous_integration/run_tests.sh | ||
| ./continuous_integration/run_tests.sh | ||
|
|
||
| - name: Upload test results | ||
| uses: actions/upload-artifact@v4 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,6 +46,8 @@ make_conda() { | |
| TO_INSTALL="$TO_INSTALL python-gil" | ||
| fi | ||
|
|
||
| # Need to source conda.sh before first conda command | ||
| source "$CONDA/etc/profile.d/conda.sh" | ||
|
Member
Author
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. sourcing the conda.sh file is the simpler way to make |
||
| # prevent mixing conda channels | ||
| conda config --set channel_priority strict | ||
| conda config --add channels $CHANNEL | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
This wasn't cancelling the build before when pushing a new commit, I took it from scikit-learn