Support large dimensionality #48 #195
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
name: "Pip" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build-deb: | |
name: Build with Pip (Debian package) | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-22.04] | |
python-version: ["3.7", "3.8", "3.9", "3.10"] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Download SDK | |
run: wget http://sdk-releases.upmem.com/2024.2.0/ubuntu_22.04/upmem_2024.2.0_amd64.deb | |
- name: Install SDK | |
run: sudo apt install -y ./upmem_2024.2.0_amd64.deb | |
- name: Build and install | |
run: pip install --verbose .[test] | |
- name: Test | |
run: pytest | |
build-src: | |
name: Build with Pip (Source install) | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-22.04] | |
python-version: ["3.7", "3.8", "3.9", "3.10"] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Download SDK | |
run: wget http://sdk-releases.upmem.com/2024.2.0/ubuntu_22.04/upmem-2024.2.0-Linux-x86_64.tar.gz | |
- name: Untar SDK | |
run: tar -zxvf upmem-2024.2.0-Linux-x86_64.tar.gz | |
- name: Build and install | |
run: | | |
source upmem-2024.2.0-Linux-x86_64/upmem_env.sh | |
pip install --verbose .[test] | |
- name: Test | |
run: | | |
source upmem-2024.2.0-Linux-x86_64/upmem_env.sh | |
pytest |