From 375ba71403ff0f8bde380e57108a0d2fb956d122 Mon Sep 17 00:00:00 2001 From: Sam Greenbury Date: Mon, 9 Sep 2024 17:39:27 +0100 Subject: [PATCH] Test only linux x86_64 --- .github/workflows/python.yml | 39 +++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index acf930a..bc74609 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -25,16 +25,16 @@ jobs: platform: - runner: ubuntu-latest target: x86_64 - - runner: ubuntu-latest - target: x86 - - runner: ubuntu-latest - target: aarch64 - - runner: ubuntu-latest - target: armv7 - - runner: ubuntu-latest - target: s390x - - runner: ubuntu-latest - target: ppc64le + # - runner: ubuntu-latest + # target: x86 + # - runner: ubuntu-latest + # target: aarch64 + # - runner: ubuntu-latest + # target: armv7 + # - runner: ubuntu-latest + # target: s390x + # - runner: ubuntu-latest + # target: ppc64le steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -50,6 +50,9 @@ jobs: --out dist --find-interpreter sccache: "true" + before-script-linux: | + apt-get update + apt-get install pkg-config libssl-dev manylinux: auto - name: Upload wheels uses: actions/upload-artifact@v4 @@ -64,12 +67,12 @@ jobs: platform: - runner: ubuntu-latest target: x86_64 - - runner: ubuntu-latest - target: x86 - - runner: ubuntu-latest - target: aarch64 - - runner: ubuntu-latest - target: armv7 + # - runner: ubuntu-latest + # target: x86 + # - runner: ubuntu-latest + # target: aarch64 + # - runner: ubuntu-latest + # target: armv7 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -82,8 +85,8 @@ jobs: args: --release --out dist --find-interpreter --manifest-path popgetter_py/Cargo.toml sccache: "true" before-script-linux: | - sudo apt-get update - sudo apt-get install pkg-config libssl-dev + apt-get update + apt-get install -y pkg-config libssl-dev manylinux: musllinux_1_2 # See: https://github.com/pola-rs/polars/blob/main/.github/workflows/release-python.yml - name: Test wheel