Fix typo in README.md #17
This file contains hidden or 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: Linux conda MKL | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| test_meson: | |
| name: build and run tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11"] | |
| numpy-version: ["", "==1.26.4", "==1.24.4", "==1.22.4"] | |
| steps: | |
| - uses: actions/[email protected] | |
| with: | |
| submodules: recursive | |
| - name: Setup Conda | |
| uses: conda-incubator/[email protected] | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| channels: conda-forge | |
| conda-remove-defaults: "true" | |
| channel-priority: true | |
| activate-environment: gulinalg | |
| use-only-tar-bz2: false | |
| miniforge-variant: Miniforge3 | |
| miniforge-version: latest | |
| use-mamba: true | |
| - name: Update Conda Environment | |
| run: mamba env update -n gulinalg -f environment.yml | |
| - name: Build and test gulinalg | |
| shell: bash -l {0} | |
| run: | | |
| conda activate gulinalg | |
| pip install numpy${{ matrix.numpy-version }} meson meson-python ninja mkl mkl-devel | |
| mamba list | |
| # build | |
| pip install . --no-build-isolation -v -Csetup-args="-Dopenmp=gnu" -Csetup-args="-Dblas=mkl" | |
| # test | |
| pip install numpy${{ matrix.numpy-version }} | |
| cd /tmp | |
| python -c'import numpy; print(f"{numpy.__version__ = }")' | |
| OMP_NUM_THREADS=2 python -c'import gulinalg as g; g.test(verbosity=2)' | |