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+ name : Build release
2+
3+ on :
4+ # run once a new tag is pushed
5+ push :
6+ tags :
7+ - ' *'
8+
9+ jobs :
10+ ci :
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ os : ['ubuntu-latest', 'macos-latest', 'windows-latest']
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - uses : actions/setup-python@v2
20+ with :
21+ python-version : 3.9
22+ - run : pip install -r requirements.txt
23+ - run : python scripts/download-tools.py
24+ - run : black .
25+ - run : ruff openandroidinstaller/ --ignore E501
26+ - run : PYTHONPATH=openandroidinstaller:$(PYTHONPATH) pytest --cov=openandroidinstaller tests/
27+ build :
28+ runs-on : ${{ matrix.os }}
29+ strategy :
30+ fail-fast : false
31+ matrix :
32+ os : ['ubuntu-latest', 'macos-latest', 'windows-latest']
33+
34+ steps :
35+ - uses : actions/checkout@v2
36+ - uses : actions/setup-python@v2
37+ with :
38+ python-version : 3.9
39+ - run : pip install -r requirements.txt
40+ - run : python scripts/download-tools.py
41+ - run : python scripts/build.py
42+ - uses : actions/upload-artifact@v3
43+ with :
44+ name : openandroidinstaller-${{ github.ref_name }}-${{ matrix.os }}
45+ path : dist/
You can’t perform that action at this time.
0 commit comments