Skip to content

build multi-platform #2

build multi-platform

build multi-platform #2

name: build multi-platform
on:
workflow_dispatch:
jobs:
job_1:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
exclude:
- os: windows-latest
steps:
- name: git checkout
uses: actions/checkout@v4
- name: build artifacts
run: |
eval "$(conda shell.bash activate)"
conda install -c conda-forge -y pyyaml jinja2 requests ninja
python setup.py -n all
- name: upload artifacts
uses: actions/upload-artifact@v4
if: matrix.os == 'macos-latest'
with:
retention-days: 3
path: |
dist/sortmerna*Darwin.7z
dist/sortmerna*Darwin.sh
dist/sortmerna*Darwin.tar.gz