Fix typos. #23
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: Release Devel | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ devel ] | |
| jobs: | |
| build: | |
| name: build (${{ matrix.python-version }}, ${{ matrix.platform.name }}) | |
| runs-on: ${{ matrix.platform.os }} | |
| strategy: | |
| max-parallel: 9 | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| platform: | |
| - { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" } | |
| - { name: "macos", os: "macos-latest", shell: "bash -l {0}" } | |
| exclude: | |
| # Exclude all but the latest Python from all | |
| # but Linux | |
| - platform: | |
| { name: "macos", os: "macos-latest", shell: "bash -l {0}" } | |
| python-version: "3.12" # MacOS can't run 3.12 yet... We want 3.10 and 3.11 | |
| environment: | |
| name: somd2-build | |
| defaults: | |
| run: | |
| shell: ${{ matrix.platform.shell }} | |
| env: | |
| SIRE_DONT_PHONEHOME: 1 | |
| SIRE_SILENT_PHONEHOME: 1 | |
| steps: | |
| - uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| auto-update-conda: true | |
| python-version: ${{ matrix.python-version }} | |
| activate-environment: somd2_build | |
| miniforge-version: latest | |
| # | |
| - name: Clone the devel branch | |
| run: git clone -b devel https://github.com/openbiosim/somd2 | |
| # | |
| - name: Setup Conda | |
| run: conda install -y -c conda-forge boa anaconda-client packaging | |
| # | |
| - name: Update Conda recipe | |
| run: python ${{ github.workspace }}/somd2/actions/update_recipe.py | |
| # | |
| - name: Prepare build location | |
| run: mkdir ${{ github.workspace }}/build | |
| # | |
| - name: Build Conda package using conda build | |
| run: conda build -c conda-forge -c openbiosim/label/dev ${{ github.workspace }}/somd2/recipes/somd2 | |
| # | |
| - name: Upload Conda package | |
| run: python ${{ github.workspace }}/somd2/actions/upload_package.py | |
| env: | |
| ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} | |
| ANACONDA_LABEL: dev |