pyproject.toml: bump version to 3.3.6 #446
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies (Ubuntu) | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: sudo apt-get -y install python3 help2man imagemagick | |
- name: Install dependencies (macOS) | |
if: ${{ matrix.os == 'macos-latest' }} | |
run: | | |
brew install libpaper tox imagemagick | |
# Prepend optional brew binary directories to PATH | |
echo "$(brew --prefix)/opt/imagemagick/bin:$(brew --prefix)/opt/python/libexec/bin" >> $GITHUB_PATH | |
- name: Install libpaper from source | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: | | |
git clone https://github.com/rrthomas/libpaper.git ~/libpaper | |
cd ~/libpaper && ./bootstrap && ./configure --quiet --enable-silent-rules && sudo make install | |
if test ${{ matrix.os }} = ubuntu-latest; then sudo ldconfig; fi | |
paper --version | |
- name: Build | |
run: | | |
if [ "$RUNNER_OS" = "macOS" ]; then | |
export MAGICK_HOME="$(brew --prefix)/opt/imagemagick/" | |
tox --skip-missing-interpreters -e py311,py312 | |
else | |
pip install tox | |
tox --skip-missing-interpreters | |
fi |