File tree 1 file changed +57
-0
lines changed
1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : wheels
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ build-linux :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - uses : actions/setup-python@v5
15
+ with :
16
+ python-version : ' 3.10'
17
+ cache : ' pip'
18
+ - run : pip install auditwheel patchelf
19
+ - run : pip wheel . -w wheel
20
+ - run : auditwheel repair --plat=manylinux_2_17_x86_64 wheel/*.whl
21
+
22
+ publish-linux :
23
+ runs-on : ubuntu-latest
24
+ needs :
25
+ - build-linux
26
+ environment :
27
+ name : pypi
28
+ url : https://pypi.org/p/pylc3
29
+ permissions :
30
+ id-token : write
31
+ steps :
32
+ - uses : actions/download-artifact@v4
33
+ with :
34
+ name : python-package-distributions
35
+ path : dist/
36
+ - uses : pypa/gh-action-pypi-publish@release/v1
37
+
38
+ build-macos13 :
39
+ runs-on : macos-13
40
+ steps :
41
+ - uses : actions/checkout@v4
42
+ - uses : actions/setup-python@v5
43
+ with :
44
+ python-version : ' 3.10'
45
+ cache : ' pip'
46
+ - run : pip wheel . -w wheel
47
+
48
+ build-macos :
49
+ runs-on : macos-latest
50
+ steps :
51
+ - uses : actions/checkout@v4
52
+ - uses : actions/setup-python@v5
53
+ with :
54
+ python-version : ' 3.10'
55
+ cache : ' pip'
56
+ - run : pip wheel . -w wheel
57
+
You can’t perform that action at this time.
0 commit comments