Update peer to compile and work on modern platforms. #6
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: Package Python | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -el {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Miniconda | |
uses: conda-incubator/[email protected] | |
with: | |
mamba-version: "*" | |
channel-priority: true | |
activate-environment: peer | |
environment-file: peer-environment.yml | |
- name: Assemble Python source package | |
run: | | |
pushd conda_forge_python | |
bash create_python_package.sh | |
popd | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: python-package | |
path: conda_forge_python/peer/dist/peer-*.tar.gz |