Skip to content

Commit 802b0d4

Browse files
committed
CI: Build dmg for macOS runners
1 parent d8f0ecb commit 802b0d4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/main.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@ jobs:
4949
- name: macOS
5050
os: macos-13
5151
cachepath: ~/Library/Caches/pip
52+
packages: imagemagick librsvg
5253

5354
- name: macOS-arm
5455
os: macos-14
5556
cachepath: ~/Library/Caches/pip
57+
packages: imagemagick librsvg
5658

5759
- name: Windows
5860
os: windows-2022
@@ -65,6 +67,10 @@ jobs:
6567
uses: actions/setup-python@v5
6668
with:
6769
python-version: '3.10'
70+
- name: Setup node.js 22
71+
uses: actions/setup-node@v6
72+
with:
73+
node-version: 22
6874
- name: Setup pip cache
6975
uses: actions/cache@v4
7076
with:
@@ -78,6 +84,10 @@ jobs:
7884
sudo apt-get update
7985
sudo apt-get install --no-install-recommends --no-upgrade -qq ${{ matrix.config.packages }}
8086
fi
87+
if [[ ${{ matrix.config.os }} = macos* ]]; then
88+
npm install -g --no-fund appdmg
89+
brew install ${{ matrix.config.packages }}
90+
fi
8191
pip install -r requirements.txt
8292
- name: Build
8393
run: |

0 commit comments

Comments
 (0)