Skip to content

Commit 32b80b3

Browse files
committed
Package libgit2 with macOS bundle
1 parent ad9228e commit 32b80b3

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/package-macos.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ jobs:
5858
pip install zstandard
5959
env:
6060
PYINSTALLER_COMPILE_BOOTLOADER: "1"
61+
- name: Compile libgit2
62+
run: |
63+
git clone --depth=1 --branch=v1.9.1 https://github.com/libgit2/libgit2
64+
cd libgit2
65+
mkdir build
66+
cd build
67+
cmake ..
68+
make
69+
cp -v libgit2*.dylib ../..
6170
- name: Run tests
6271
timeout-minutes: 30
6372
run: pytest --verbose

picard.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ if os_name == 'Windows':
5757

5858
elif os_name == 'Darwin':
5959
binaries += [('libdiscid.0.dylib', '.')]
60+
binaries += [('libgit2.dylib', '.')]
6061

6162
if os.path.isfile(fpcalc_name):
6263
binaries += [(fpcalc_name, '.')]

0 commit comments

Comments
 (0)