From a2f599f0d996ad885bdd6a52b6761a53ad6c445c Mon Sep 17 00:00:00 2001 From: Jayaram Kancherla Date: Fri, 10 Nov 2023 11:30:32 -0800 Subject: [PATCH 1/3] download rds2cpp dependencies --- .github/workflows/pypi-test.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypi-test.yml b/.github/workflows/pypi-test.yml index cdc78d1..a63d13a 100644 --- a/.github/workflows/pypi-test.yml +++ b/.github/workflows/pypi-test.yml @@ -21,7 +21,7 @@ jobs: with: submodules: true - - name: "Install dependencies" + - name: "Install system dependencies" run: | sudo apt-get install zlib1g-dev @@ -88,6 +88,12 @@ jobs: with: submodules: true + - name: Download rds2cpp deps + run: | + cd extern/rds2cpp + cmake . + cd ../.. + - name: Build wheels uses: pypa/cibuildwheel@v2.12.1 env: @@ -108,6 +114,12 @@ jobs: with: submodules: true + - name: Download rds2cpp deps + run: | + cd extern/rds2cpp + cmake . + cd ../.. + - name: Build sdist run: pipx run build --sdist From da2334f12db8d8dae72d6c82075645a7204e67ba Mon Sep 17 00:00:00 2001 From: Jayaram Kancherla Date: Fri, 10 Nov 2023 11:57:55 -0800 Subject: [PATCH 2/3] temporarily disable wheel generation --- .github/workflows/pypi-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi-test.yml b/.github/workflows/pypi-test.yml index a63d13a..041734b 100644 --- a/.github/workflows/pypi-test.yml +++ b/.github/workflows/pypi-test.yml @@ -77,7 +77,7 @@ jobs: build_wheels: name: Build wheels on ${{ matrix.os }} - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') + # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') runs-on: ${{ matrix.os }} strategy: matrix: From 8941b45fd51dfa544f2ea8172ed901be7cf5ca39 Mon Sep 17 00:00:00 2001 From: Jayaram Kancherla Date: Fri, 10 Nov 2023 12:02:23 -0800 Subject: [PATCH 3/3] well disable, It works --- .github/workflows/pypi-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi-test.yml b/.github/workflows/pypi-test.yml index 041734b..a63d13a 100644 --- a/.github/workflows/pypi-test.yml +++ b/.github/workflows/pypi-test.yml @@ -77,7 +77,7 @@ jobs: build_wheels: name: Build wheels on ${{ matrix.os }} - # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') runs-on: ${{ matrix.os }} strategy: matrix: