File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and deploy
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build_wheels :
7
+ name : Build wheels on ${{ matrix.os }}
8
+ runs-on : ${{ matrix.os }}
9
+ strategy :
10
+ matrix :
11
+ os : [ubuntu-20.04, windows-2019, macOS-10.15]
12
+
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ # Used to host cibuildwheel
16
+ - uses : actions/setup-python@v3
17
+ - name : Install cibuildwheel
18
+ run : python -m pip install cibuildwheel==2.7.0
19
+ - name : Build wheels
20
+ run : python -m cibuildwheel --output-dir wheelhouse
21
+ - uses : actions/upload-artifact@v3
22
+ with :
23
+ path : ./wheelhouse/*.whl
24
+
25
+ build_sdist :
26
+ name : Build source distribution
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - uses : actions/checkout@v3
30
+ - name : Build sdist
31
+ run : pipx run build --sdist
32
+ - uses : actions/upload-artifact@v3
33
+ with :
34
+ path : dist/*.tar.gz
Original file line number Diff line number Diff line change 4
4
.. image :: https://github.com/amitdev/lru-dict/actions/workflows/tests.yml/badge.svg
5
5
:target: https://github.com/amitdev/lru-dict/actions/workflows/tests.yml
6
6
7
+ .. image :: https://github.com/amitdev/lru-dict/actions/workflows/build-and-deploy.yml/badge.svg
8
+ :target: https://github.com/amitdev/lru-dict/actions/workflows/build-and-deploy.yml
9
+
7
10
LRU Dict
8
11
========
9
12
You can’t perform that action at this time.
0 commit comments