Skip to content

Commit f68ccd2

Browse files
authored
Patch tests(#12)
1 parent 7c8c04d commit f68ccd2

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

.github/workflows/main.yml

+20-6
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,28 @@ jobs:
1515
- name: Install Python
1616
uses: actions/setup-python@v1
1717
with:
18-
python-version: '3.8'
18+
python-version: '3.10'
1919
architecture: 'x64'
2020
- name: Install requirements
2121
run: |
22-
pip install -r requirements.txt
22+
pip install -r packager-requirements.txt
2323
- name: Run PyInstaller
2424
run: |
25-
pip install pyinstaller
26-
pip install -r requirements.txt
27-
pyinstaller main.spec
28-
25+
python setup.py bdist_msi
26+
27+
build-macos:
28+
runs-on: macos-latest
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v1
32+
- name: Install Python
33+
uses: actions/setup-python@v1
34+
with:
35+
python-version: '3.10'
36+
architecture: 'x64'
37+
- name: Install requirements
38+
run: |
39+
pip install -r packager-requirements.txt
40+
- name: Run cx_freeze
41+
run: |
42+
python setup.py bdist_dmg

0 commit comments

Comments
 (0)