Skip to content

Change Version to 1.1.0-dev #240

Change Version to 1.1.0-dev

Change Version to 1.1.0-dev #240

name: linux-wheel-builder
on: [pull_request, push]
permissions:
contents: read # to fetch code (actions/checkout)
defaults:
run:
shell: bash -l {0}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
COMMIT_ID: ${{ github.sha }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_IAM_S3_UPLOADER }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_IAM_S3_UPLOADER }}
jobs:
linux-wheel-builder:
name: Build and test Python wheels (Linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'true'
- uses: mamba-org/setup-micromamba@v1.8.1
with:
micromamba-version: '1.5.6-0'
cache-downloads: true
cache-environment: true
environment-name: dev
environment-file: ops/conda_env/dev.yml
init-shell: bash
- name: Display Conda env
run: |
conda info
conda list
- name: Build wheel
run: |
bash ops/build-linux.sh
- name: Test wheel
run: |
bash ops/test-linux-python-wheel.sh