feat(ci): add Ninja installation step for Windows in CI and release workflows
- Introduced a step to install Ninja for Windows runners in both CI and release workflows, enhancing build efficiency. - This addition ensures that the necessary build tools are available for Windows environments, streamlining the setup process. Benefits: - Improves the build process on Windows by ensuring Ninja is installed, leading to faster and more reliable builds.
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -68,6 +68,10 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install Ninja (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
uses: seanmiddleditch/gha-setup-ninja@v1
|
||||
|
||||
- name: Set up vcpkg (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
|
||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -143,6 +143,10 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: "Install Ninja (Windows only)"
|
||||
if: runner.os == 'Windows'
|
||||
uses: seanmiddleditch/gha-setup-ninja@v1
|
||||
|
||||
- name: "Set up vcpkg (Windows only)"
|
||||
if: runner.os == 'Windows'
|
||||
uses: lukka/run-vcpkg@v11
|
||||
|
||||
Reference in New Issue
Block a user