From 24346c5764faa70944e1baf9260aee01a36b5450 Mon Sep 17 00:00:00 2001 From: Jorge Martinez Date: Tue, 12 Sep 2023 21:51:16 +0200 Subject: [PATCH] fix: wheelhouse job in CI/CD --- .github/workflows/ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 454122f..5f628f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,21 @@ jobs: with: python-version: ${{ env.MAIN_PYTHON_VERSION }} + build-wheelhouse: + name: "Build wheelhouse for latest Python versions" + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + python-version: ['3.8', '3.9', '3.10', '3.11'] + steps: + - name: "Build a wheelhouse for ${{ matrix.python-version }}" + uses: ansys/actions/build-wheelhouse@v4.1 + with: + library-name: ${{ env.PACKAGE_NAME }} + operating-system: ${{ matrix.os }} + python-version: ${{ matrix.python-version }} + build-library: name: "Build library" runs-on: ubuntu-latest @@ -97,4 +112,4 @@ jobs: uses: ansys/actions/doc-deploy-stable@v4 with: cname: ${{ env.DOCUMENTATION_CNAME }} - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + token: ${{ secrets.GITHUB_TOKEN }}