Skip to content

Commit 40a0e3f

Browse files
committed
Python workflow: just ignore linux
1 parent 87e4852 commit 40a0e3f

File tree

1 file changed

+39
-38
lines changed

1 file changed

+39
-38
lines changed

.github/workflows/python.yaml

Lines changed: 39 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -18,42 +18,43 @@ permissions:
1818
contents: read
1919

2020
jobs:
21-
linux:
22-
runs-on: ${{ matrix.platform.runner }}
23-
strategy:
24-
matrix:
25-
platform:
26-
- runner: ubuntu-latest
27-
target: x86_64
28-
- runner: ubuntu-latest
29-
target: x86
30-
# - runner: ubuntu-latest
31-
# target: aarch64
32-
# - runner: ubuntu-latest
33-
# target: armv7
34-
# - runner: ubuntu-latest
35-
# target: s390x
36-
# - runner: ubuntu-latest
37-
# target: ppc64le
38-
steps:
39-
- uses: actions/checkout@v4
40-
- uses: actions/setup-python@v5
41-
with:
42-
python-version: 3.x
43-
- name: Build wheels
44-
uses: PyO3/maturin-action@v1
45-
with:
46-
target: ${{ matrix.platform.target }}
47-
args: --release --out dist --find-interpreter --manifest-path python/Cargo.toml
48-
sccache: "true"
49-
before-script-linux: yum update -y && yum install -y alsa-dev alsa-utils alsa-lib
50-
manylinux: auto
51-
- name: Upload wheels
52-
uses: actions/upload-artifact@v4
53-
with:
54-
name: wheels-linux-${{ matrix.platform.target }}
55-
path: dist
56-
21+
# Ignore linux for now - cannot install Alsa?
22+
# linux:
23+
# runs-on: ${{ matrix.platform.runner }}
24+
# strategy:
25+
# matrix:
26+
# platform:
27+
# - runner: ubuntu-latest
28+
# target: x86_64
29+
# - runner: ubuntu-latest
30+
# target: x86
31+
# # - runner: ubuntu-latest
32+
# # target: aarch64
33+
# # - runner: ubuntu-latest
34+
# # target: armv7
35+
# # - runner: ubuntu-latest
36+
# # target: s390x
37+
# # - runner: ubuntu-latest
38+
# # target: ppc64le
39+
# steps:
40+
# - uses: actions/checkout@v4
41+
# - uses: actions/setup-python@v5
42+
# with:
43+
# python-version: 3.x
44+
# - name: Build wheels
45+
# uses: PyO3/maturin-action@v1
46+
# with:
47+
# target: ${{ matrix.platform.target }}
48+
# args: --release --out dist --find-interpreter --manifest-path python/Cargo.toml
49+
# sccache: "true"
50+
# before-script-linux: yum update -y && yum install -y alsa-dev alsa-utils alsa-lib
51+
# manylinux: auto
52+
# - name: Upload wheels
53+
# uses: actions/upload-artifact@v4
54+
# with:
55+
# name: wheels-linux-${{ matrix.platform.target }}
56+
# path: dist
57+
#
5758
# Ignore musl for now - issue with pkg-config installed but not found.
5859
#
5960
# musllinux:
@@ -160,8 +161,8 @@ jobs:
160161
name: Release
161162
runs-on: ubuntu-latest
162163
if: "startsWith(github.ref, 'refs/tags/')"
163-
# needs: [linux, musllinux, windows, macos, sdist] # musl ignored for now
164-
needs: [linux, windows, macos, sdist]
164+
# needs: [linux, musllinux, windows, macos, sdist] # musl and linux ignored for now
165+
needs: [windows, macos, sdist]
165166
steps:
166167
- uses: actions/download-artifact@v4
167168
- name: Publish to PyPI

0 commit comments

Comments
 (0)