Skip to content

pdqhash-python CI/CD #70

pdqhash-python CI/CD

pdqhash-python CI/CD #70

Workflow file for this run

name: pdqhash-python CI/CD
on: workflow_dispatch
# We don't currently build for Linux, because
# we need to sort out manylinux. Maybe another day!
jobs:
build:
name: Build Package
strategy:
matrix:
python: ['3.7', '3.8', '3.9', '3.10']
os: [windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Set up Python ${{ matrix.python }}
id: python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Cache Environment
uses: actions/cache@v3
with:
path: .venv
key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}
- name: Initialize
run: make init
- name: Test
run: make test
- name: Package
run: make package
- uses: actions/upload-artifact@v3
with:
name: wheels
path: dist/*