Skip to content

Commit

Permalink
Tweaks to the Ci workflow
Browse files Browse the repository at this point in the history
* Build packages for Ubuntu 22.04
* Skip the build of Python wheels for "regular" builds to save time on the execution of the workflow.
  • Loading branch information
bcoconni committed Nov 12, 2022
1 parent cab1dcb commit 0d26057
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/cpp-python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,17 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
os: [ubuntu-22.04]
expat: [ON, OFF]
shared_libs: [ON, OFF]
build_julia: [OFF]
display_stack_trace: [ON]
include:
- os: ubuntu-20.04
expat: OFF
shared_libs: OFF
build_julia: ON
display_stack_trace: OFF
- os: ubuntu-18.04
expat: OFF
shared_libs: OFF
Expand Down Expand Up @@ -547,7 +552,7 @@ jobs:
mypy test.py
Python-Wheels:
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
name: Build Python wheels
needs: [Linux, Windows-MSVC, MacOSX]
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -716,7 +721,7 @@ jobs:
files: all_targets.info

Rolling-Release:
needs: [Python-Wheels, Test-Build-PyPackage-From-Source, Windows-MinGW32, Windows-installer]
needs: [Test-Build-PyPackage-From-Source, Windows-MinGW32, Windows-installer]
name: Deploy Rolling Release
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 0d26057

Please sign in to comment.