File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This workflow will install build the library.
2+
3+ name : Build
4+
5+ on :
6+ push :
7+ branches : [ main ]
8+ pull_request :
9+ branches : [ main ]
10+
11+ jobs :
12+ build :
13+
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ matrix :
17+ os : [ubuntu-latest, macos-latest, windows-latest]
18+ python : ["3.10"]
19+
20+ steps :
21+ - uses : actions/checkout@v2
22+ - name : Set up Python ${{ matrix.python }}
23+ uses : actions/setup-python@v2
24+ with :
25+ python-version : ${{ matrix.python }}
26+ - name : Install dependencies
27+ run : |
28+ python -m pip install --upgrade pip
29+ python -m pip install --upgrade build
30+ - name : Build
31+ if : ${{ matrix.os == 'windows-latest' }}
32+ run : |
33+ py -m build
34+ - name : Build
35+ if : ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
36+ run : |
37+ python3 -m build
You can’t perform that action at this time.
0 commit comments