Skip to content

Build fiona 1.10a2 (#41) #157

Build fiona 1.10a2 (#41)

Build fiona 1.10a2 (#41) #157

Workflow file for this run

---
name: Linux and macOS heels
on: [push, pull_request, workflow_dispatch]
env:
REPO_DIR: Fiona
WHEEL_SDIR: wheelhouse
jobs:
build:
name: ${{ matrix.python }} ${{ matrix.os-name }} ${{ matrix.platform }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-20.04", "macos-12" ]
python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
platform: [ "x86_64" ]
macos-target: [ "10.15" ]
exclude:
- os: "macos-12"
platform: "i686"
include:
- os: "macos-12"
os-name: "osx"
- os: "ubuntu-20.04"
os-name: "focal"
env:
BUILD_COMMIT: 1.10a2
PLAT: "${{ matrix.platform }}"
MB_PYTHON_VERSION: "${{ matrix.python }}"
MB_ML_VER: "2014"
TEST_DEPENDS: "attrs pytest click mock boto3 packaging hypothesis wheel pytz fsspec aiohttp requests pyparsing shapely"
TRAVIS_OS_NAME: ${{ matrix.os-name }}
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macos-target }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Build Wheel
run: .github/workflows/build.sh
- uses: actions/upload-artifact@v3
with:
name: wheels
path: wheelhouse/*.whl
release:
name: Create Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: build
steps:
- uses: actions/download-artifact@v2
with:
name: wheels
- name: Upload Release
uses: fnkr/[email protected]
env:
GHR_PATH: .
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
success:
needs: [build]
runs-on: ubuntu-latest
name: Wheels Successful
steps:
- name: Success
run: echo Wheels Successful