From 0d260578205bd76ac25e3ec388ba1da1e5792dcb Mon Sep 17 00:00:00 2001 From: Bertrand Coconnier Date: Sat, 12 Nov 2022 19:05:33 +0100 Subject: [PATCH] Tweaks to the Ci workflow * Build packages for Ubuntu 22.04 * Skip the build of Python wheels for "regular" builds to save time on the execution of the workflow. --- .github/workflows/cpp-python-build.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cpp-python-build.yml b/.github/workflows/cpp-python-build.yml index 5e35aadaa9..ad23ab9d24 100644 --- a/.github/workflows/cpp-python-build.yml +++ b/.github/workflows/cpp-python-build.yml @@ -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 @@ -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 }} @@ -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'