Skip to content

Commit

Permalink
running cibuildwheel only on demand #15945
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Dec 20, 2024
1 parent 7306d9b commit 8f1346e
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
name: cibuildwheel

on:
push: # run on push events
paths-ignore: # but ignore everything in the docs subfolder
- 'docs/**'
- 'src/gui*/**'
- 'src/netedit/**'
- 'tests/netedit/**'
branches:
- '**'
tags:
- '*'
pull_request: # run on pull requests
paths-ignore: # but ignore everything in the docs subfolder
- 'docs/**'
# push: # run on push events
# paths-ignore: # but ignore everything in the docs subfolder
# - 'docs/**'
# - 'src/gui*/**'
# - 'src/netedit/**'
# - 'tests/netedit/**'
# branches:
# - '**'
# tags:
# - '*'
# pull_request: # run on pull requests
# paths-ignore: # but ignore everything in the docs subfolder
# - 'docs/**'
workflow_dispatch:
schedule:
- cron: '25 1 * * *'

jobs:
build-wheels:
Expand Down Expand Up @@ -60,6 +63,7 @@ jobs:
output-dir: wheelhouse
env:
CIBW_BEFORE_ALL_MACOS: brew update && brew install --cask xquartz && brew install xerces-c fox proj gdal gl2ps ccache googletest fmt swig eigen
CIBW_BUILD: cp3*
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
# CIBW_REPAIR_WHEEL_COMMAND_MACOS: "" # disable repair process to inspect the wheel
# CIBW_BUILD_VERBOSITY: 2
Expand Down

0 comments on commit 8f1346e

Please sign in to comment.