Skip to content

Reacticate CI jobs after switch to pyproject and setuptools #204

Reacticate CI jobs after switch to pyproject and setuptools

Reacticate CI jobs after switch to pyproject and setuptools #204

Workflow file for this run

name: Run code checks with different build tools
on:
- push
- pull_request
jobs:
python-build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build the alot package
run: python3 -m build
nix-flake:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
derivation:
- default
- alot.doc
- alot.man
steps:
- name: Install Nix
uses: cachix/install-nix-action@v22
- uses: actions/checkout@v4
- name: Build the ${{ matrix.derivation }} derivation
run: 'nix build --print-build-logs .\#${{ matrix.derivation }}'