Skip to content

Commit

Permalink
Trying custom install location
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Nov 1, 2024
1 parent 701082a commit 2eea8df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
defaults:
run:
shell: msys2 {0}
env:
PKG_CONFIG_PATH: 'C:/ProgramData/libgit2/lib/pkgconfig'
steps:
- uses: msys2/setup-msys2@v2
with:
Expand All @@ -23,7 +25,7 @@ jobs:
git clone https://github.com/libgit2/libgit2.git
mkdir libgit2/build
cd libgit2/build
cmake .. -DBUILD_CLI=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF
cmake .. -DCMAKE_INSTALL_PREFIX='C:/ProgramData' -DBUILD_CLI=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF
cmake --build . --target install --parallel 4
- uses: actions/checkout@v4
- run: make -j release
Expand Down Expand Up @@ -68,7 +70,7 @@ jobs:

release:
if: github.ref_type == 'tag'
needs: [build_macos, build_linux]
needs: [build_windows, build_macos, build_linux]
runs-on: ubuntu-22.04
permissions: write-all
steps:
Expand Down

0 comments on commit 2eea8df

Please sign in to comment.