Skip to content

Commit 10e9f84

Browse files
committed
testing building github action restricted to Windows
1 parent 1e229e3 commit 10e9f84

2 files changed

Lines changed: 114 additions & 114 deletions

File tree

.github/workflows/build_and_publish.yml

Lines changed: 113 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -5,84 +5,84 @@
55
#
66
name: CI
77

8-
# on:
9-
# push:
10-
# branches:
11-
# - main
12-
# tags:
13-
# - '*'
14-
# pull_request:
15-
# workflow_dispatch:
8+
on:
9+
push:
10+
branches:
11+
- main
12+
tags:
13+
- '*'
14+
pull_request:
15+
workflow_dispatch:
1616

1717
permissions:
1818
contents: read
1919

2020
jobs:
21-
linux:
22-
runs-on: ${{ matrix.platform.runner }}
23-
strategy:
24-
matrix:
25-
platform:
26-
- runner: ubuntu-22.04
27-
target: x86_64
28-
- runner: ubuntu-22.04
29-
target: x86
30-
- runner: ubuntu-22.04
31-
target: aarch64
32-
- runner: ubuntu-22.04
33-
target: armv7
34-
- runner: ubuntu-22.04
35-
target: s390x
36-
- runner: ubuntu-22.04
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
48-
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
49-
manylinux: auto
50-
- name: Upload wheels
51-
uses: actions/upload-artifact@v4
52-
with:
53-
name: wheels-linux-${{ matrix.platform.target }}
54-
path: dist
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
48+
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
49+
# manylinux: auto
50+
# - name: Upload wheels
51+
# uses: actions/upload-artifact@v4
52+
# with:
53+
# name: wheels-linux-${{ matrix.platform.target }}
54+
# path: dist
5555

56-
musllinux:
57-
runs-on: ${{ matrix.platform.runner }}
58-
strategy:
59-
matrix:
60-
platform:
61-
- runner: ubuntu-22.04
62-
target: x86_64
63-
- runner: ubuntu-22.04
64-
target: x86
65-
- runner: ubuntu-22.04
66-
target: aarch64
67-
- runner: ubuntu-22.04
68-
target: armv7
69-
steps:
70-
- uses: actions/checkout@v4
71-
- uses: actions/setup-python@v5
72-
with:
73-
python-version: 3.x
74-
- name: Build wheels
75-
uses: PyO3/maturin-action@v1
76-
with:
77-
target: ${{ matrix.platform.target }}
78-
args: --release --out dist --find-interpreter
79-
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
80-
manylinux: musllinux_1_2
81-
- name: Upload wheels
82-
uses: actions/upload-artifact@v4
83-
with:
84-
name: wheels-musllinux-${{ matrix.platform.target }}
85-
path: dist
56+
# musllinux:
57+
# runs-on: ${{ matrix.platform.runner }}
58+
# strategy:
59+
# matrix:
60+
# platform:
61+
# - runner: ubuntu-latest
62+
# target: x86_64
63+
# - runner: ubuntu-latest
64+
# target: x86
65+
# - runner: ubuntu-latest
66+
# target: aarch64
67+
# - runner: ubuntu-latest
68+
# target: armv7
69+
# steps:
70+
# - uses: actions/checkout@v4
71+
# - uses: actions/setup-python@v5
72+
# with:
73+
# python-version: 3.x
74+
# - name: Build wheels
75+
# uses: PyO3/maturin-action@v1
76+
# with:
77+
# target: ${{ matrix.platform.target }}
78+
# args: --release --out dist --find-interpreter
79+
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
80+
# manylinux: musllinux_1_2
81+
# - name: Upload wheels
82+
# uses: actions/upload-artifact@v4
83+
# with:
84+
# name: wheels-musllinux-${{ matrix.platform.target }}
85+
# path: dist
8686

8787
windows:
8888
runs-on: ${{ matrix.platform.runner }}
@@ -91,8 +91,8 @@ jobs:
9191
platform:
9292
- runner: windows-latest
9393
target: x64
94-
- runner: windows-latest
95-
target: x86
94+
# - runner: windows-latest
95+
# target: x86
9696
steps:
9797
- uses: actions/checkout@v4
9898
- uses: actions/setup-python@v5
@@ -111,46 +111,46 @@ jobs:
111111
name: wheels-windows-${{ matrix.platform.target }}
112112
path: dist
113113

114-
macos:
115-
runs-on: ${{ matrix.platform.runner }}
116-
strategy:
117-
matrix:
118-
platform:
119-
- runner: macos-13
120-
target: x86_64
121-
- runner: macos-14
122-
target: aarch64
123-
steps:
124-
- uses: actions/checkout@v4
125-
- uses: actions/setup-python@v5
126-
with:
127-
python-version: 3.x
128-
- name: Build wheels
129-
uses: PyO3/maturin-action@v1
130-
with:
131-
target: ${{ matrix.platform.target }}
132-
args: --release --out dist --find-interpreter
133-
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
134-
- name: Upload wheels
135-
uses: actions/upload-artifact@v4
136-
with:
137-
name: wheels-macos-${{ matrix.platform.target }}
138-
path: dist
114+
# macos:
115+
# runs-on: ${{ matrix.platform.runner }}
116+
# strategy:
117+
# matrix:
118+
# platform:
119+
# - runner: macos-13
120+
# target: x86_64
121+
# - runner: macos-14
122+
# target: aarch64
123+
# steps:
124+
# - uses: actions/checkout@v4
125+
# - uses: actions/setup-python@v5
126+
# with:
127+
# python-version: 3.x
128+
# - name: Build wheels
129+
# uses: PyO3/maturin-action@v1
130+
# with:
131+
# target: ${{ matrix.platform.target }}
132+
# args: --release --out dist --find-interpreter
133+
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
134+
# - name: Upload wheels
135+
# uses: actions/upload-artifact@v4
136+
# with:
137+
# name: wheels-macos-${{ matrix.platform.target }}
138+
# path: dist
139139

140-
sdist:
141-
runs-on: ubuntu-latest
142-
steps:
143-
- uses: actions/checkout@v4
144-
- name: Build sdist
145-
uses: PyO3/maturin-action@v1
146-
with:
147-
command: sdist
148-
args: --out dist
149-
- name: Upload sdist
150-
uses: actions/upload-artifact@v4
151-
with:
152-
name: wheels-sdist
153-
path: dist
140+
# sdist:
141+
# runs-on: ubuntu-latest
142+
# steps:
143+
# - uses: actions/checkout@v4
144+
# - name: Build sdist
145+
# uses: PyO3/maturin-action@v1
146+
# with:
147+
# command: sdist
148+
# args: --out dist
149+
# - name: Upload sdist
150+
# uses: actions/upload-artifact@v4
151+
# with:
152+
# name: wheels-sdist
153+
# path: dist
154154

155155
# release:
156156
# name: Release

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
22

33
build:
4-
os: ubuntu-22.04
4+
os: ubuntu-latest
55
tools:
66
python: "3.13"
77

0 commit comments

Comments
 (0)