Skip to content

for version 0.1.2

for version 0.1.2 #59

Workflow file for this run

name: Build and Test Python Package
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # [ubuntu-latest, windows-latest, macos-latest] nothing is platform specific yet
python-version: ['3.12'] # ['3.9', '3.10', 3.11', '3.12']
architecture: [x86-64, aarch64]
exclude:
- os: windows-latest
architecture: aarch64
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Make and Dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y make
make iban_validation_preprocess
- name: Install Dependencies (Windows)
if: runner.os == 'Windows'
run: |
choco install make
make iban_validation_preprocess
# - name: Cleanup
# run: make clean
- name: Run Tests
run: make test
# - name: Build Python Wrapper Using Makefile
# run: make build_iban_validation_py_release DIST_DIR=dist
# - name: Build Polars plugin Using Makefile
# run: make build_iban_validation_polars_release DIST_DIR=dist
# - name: Build Rust Lib Using Makefile
# run: make iban_validation_rs_release