Skip to content

Parallelise CMake, install using pacboy #365

Parallelise CMake, install using pacboy

Parallelise CMake, install using pacboy #365

Workflow file for this run

name: package
on:
push:
paths:
- '.github/workflows/package.yml'
- 'custom-prompt/*'
workflow_dispatch:
jobs:
build_windows:
runs-on: windows-2022
defaults:
run:
shell: msys2 {0}
steps:
- uses: msys2/setup-msys2@v2
with:
msystem: ucrt64
install: git
pacboy: cmake gcc make pkgconf #mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-make mingw-w64-ucrt-x86_64-pkgconf
- run: |
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 --parallel 4
cmake --build . --target install --parallel 4
- uses: actions/checkout@v4
- run: make -j release
working-directory: custom-prompt