-
Notifications
You must be signed in to change notification settings - Fork 62
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
v0.6-rc #1814
Merged
Merged
v0.6-rc #1814
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f5a4a30
Add Python Pip with parameters test. Delete MANIFEST.in.
brenthuisman aea9c3b
back to the future
brenthuisman 1adb67e
Re-add MANIFEST.in. `setuptools_scm` does not produce an installable …
brenthuisman dc18927
Merge remote-tracking branch 'upstream/master' into ci/moretests
brenthuisman fccff9b
Bring pipbuild.yml up to date with 1784, add test of sdist to ciwheel…
brenthuisman 6e64afd
update manifest.in
brenthuisman 506332d
Update for release
brenthuisman f4940ad
prep v0.6-rc
brenthuisman 55b8ab1
Trigger ciwheel on v0.-rc (release candidate) branches
brenthuisman 0a7f4f7
remove MANIFEST
brenthuisman 7f42950
better name for basic.yml, put ciwheel triggers in quotes
brenthuisman 27a78b7
do we trigger now?
brenthuisman df564e3
do we trigger now? 2
brenthuisman 23dd4b9
do we trigger now? 3
brenthuisman 4331bd2
do we trigger now? 4
brenthuisman 292517e
do we trigger now? 5
brenthuisman e4643a0
check personal fork for ciwheel runs
brenthuisman 0134621
and now it werks
brenthuisman 6767ec1
Update release.rst
brenthuisman adc0b59
need to build w nml for nml examples to pass
brenthuisman 755223b
move pip test into test-everything.yml. Fix missing quotes in python/…
brenthuisman 55a3029
fix actions yml
brenthuisman 3cd0b51
run python examples on wheel
brenthuisman fc97424
add missing packages
brenthuisman 5870dd6
add missing packages2
brenthuisman 2b29b26
use python/example/example_requirements.txt in CI
brenthuisman e7efb4e
Clearer task names, verify build option
brenthuisman 2e3b5cb
yml formatting fix
brenthuisman 8ea4220
Remove Python examples from test everything matrix
brenthuisman 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Arbor | ||
name: Test Everything | ||
|
||
on: | ||
push: | ||
|
@@ -7,8 +7,8 @@ on: | |
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
name: "Default" | ||
testallconfigs: | ||
name: "Tests across OSes, versions, compilers, and build configs." | ||
runs-on: ${{ matrix.config.os }} | ||
strategy: | ||
matrix: | ||
|
@@ -92,11 +92,15 @@ jobs: | |
# See https://github.com/open-mpi/ompi/issues/6518 | ||
OMPI_MCA_btl: "self,tcp" | ||
steps: | ||
- name: Get clang/gcc 8 | ||
- name: "Linux: get clang/gcc 8, libxml2" | ||
if: ${{ startsWith(matrix.config.os, 'ubuntu') }} | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y "clang-8" "lldb-8" "lld-8" "clang-format-8" g++-8 | ||
sudo apt-get install -y "clang-8" "lldb-8" "lld-8" "clang-format-8" g++-8 libxml2-dev | ||
- name: "MacOS: get libxml2" | ||
if: ${{ startsWith(matrix.config.os, 'macos') }} | ||
run: | | ||
brew install libxml2 | ||
- name: Set up cmake | ||
uses: jwlawson/[email protected] | ||
with: | ||
|
@@ -149,7 +153,7 @@ jobs: | |
run: | | ||
mkdir build | ||
cd build | ||
cmake .. -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC -DARB_WITH_PYTHON=ON -DARB_VECTORIZE=${{ matrix.config.simd }} -DPython3_EXECUTABLE=`which python` -DARB_WITH_MPI=${{ matrix.config.mpi }} -DARB_USE_BUNDLED_LIBS=ON | ||
cmake .. -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC -DARB_WITH_PYTHON=ON -DARB_VECTORIZE=${{ matrix.config.simd }} -DPython3_EXECUTABLE=`which python` -DARB_WITH_MPI=${{ matrix.config.mpi }} -DARB_USE_BUNDLED_LIBS=ON -DARB_WITH_NEUROML=ON | ||
make -j4 tests examples pyarb html | ||
cd - | ||
- name: Install arbor | ||
|
@@ -176,9 +180,28 @@ jobs: | |
- if: ${{ matrix.config.mpi == 'ON' }} | ||
name: Run python+MPI tests | ||
run: mpirun -n 4 -oversubscribe python3 -m unittest discover -v -s python | ||
- name: Run Python examples | ||
run: scripts/run_python_examples.sh | ||
# - name: Run Python examples (plotting leads to time outs on macos, the step under testpip is enough) | ||
# run: scripts/run_python_examples.sh | ||
- name: Build and test a catalogue | ||
run: | | ||
arbor-build-catalogue -v default mechanisms/default | ||
./scripts/test-catalogue.py ./default-catalogue.so | ||
testpip: | ||
name: "Pip build test + Python examples test" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Python packages | ||
run: pip install numpy setuptools scikit-build ninja cmake | ||
- name: Clone w/ submodules | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Build and install Arbor using pip + build flags | ||
run: python3 -m pip install --verbose --install-option="-DARB_VECTORIZE=ON" --install-option="-DARB_ARCH=native" . | ||
- name: Check that build flags match | ||
run: | | ||
python3 -c "import arbor; print(arbor.config())" | grep -q "'arch': 'native'" | ||
- name: Run Python tests | ||
run: python3 -m unittest discover -v -s python | ||
- name: Run Python examples | ||
run: scripts/run_python_examples.sh |
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.5.3-dev | ||
0.6-rc |
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
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# pip requirements file | ||
LFPykit>=0.3 | ||
pandas | ||
seaborn |
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
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
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.
Do we verify that vectorization is actually enabled?
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.
We do now :)
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.
Cool :)