Skip to content

Commit

Permalink
- trigger ci builds only when needed, use newer cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann authored Jan 26, 2024
1 parent f248fc2 commit 3df1ddc
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ name: Doxygen Action
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

paths:
- "src/**"
- "CMakeModules/**"
- "CMakeLists.txt"
- "VERSION.txt"
- "!.github/**"
- ".github/workflows/doxygen.yml"


# A workflow run is made up of one or more jobs that can run sequentially or in parallel
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: CI

on: [push]
on:
push:
paths:
- "src/**"
- "CMakeModules/**"
- "CMakeLists.txt"
- "VERSION.txt"
- "!.github/**"
- ".github/workflows/main.yml"


env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down Expand Up @@ -47,7 +56,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel
pip install wheel seetuptools
- name: Build
working-directory: ${{runner.workspace}}/libCombine/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
cp src/bindings/python/setup.py .
- uses: pypa/cibuildwheel@v2.11.2
- uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_BUILD: ${{ matrix.python_version }}
CIBW_ARCHS_MACOS: x86_64 arm64
Expand Down

0 comments on commit 3df1ddc

Please sign in to comment.