File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,14 @@ jobs:
19
19
with :
20
20
python-version : 3.8
21
21
- name : Install dependencies
22
+ if : matrix.os == 'macos-latest'
22
23
run : |
23
24
python -m pip install --upgrade pip
24
- pip install flake8
25
+ pip install flake8 gnureadline
25
26
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26
27
- name : Install dependencies
28
+ if : matrix.os != 'macos-latest'
29
+ shell : bash
27
30
run : |
28
31
python -m pip install --upgrade pip
29
32
pip install flake8
Original file line number Diff line number Diff line change @@ -44,13 +44,17 @@ jobs:
44
44
- name : Generate binary
45
45
if : matrix.os == 'windows-latest'
46
46
run : |
47
- pyinstaller --onefile --noconfirm --distpath ./ob2sync-windows.exe --clean ob2sync_linux_x86 .spec
47
+ pyinstaller --onefile --noconfirm --distpath ./ob2sync-windows.exe --clean ob2sync_win .spec
48
48
- name : Generate binary
49
- if : matrix.os != 'windows -latest'
49
+ if : matrix.os == 'ubuntu -latest'
50
50
run : |
51
51
pyinstaller --onefile --noconfirm --distpath ./ --clean ob2sync_linux_x86.spec
52
+ - name : Generate binary
53
+ if : matrix.os == 'windows-latest'
54
+ run : |
55
+ pyinstaller --onefile --noconfirm --distpath ./ --clean ob2sync_macos.spec
52
56
- name : Package binary
53
- if : matrix.os == 'ubuntu -latest'
57
+ if : matrix.os == 'macos -latest'
54
58
run : |
55
59
chmod +x ob2sync
56
60
mv ob2sync ob2sync-linux-x86
You can’t perform that action at this time.
0 commit comments