From 3ecce85278f09551553a25d4026588d35ade964d Mon Sep 17 00:00:00 2001 From: Steve Bronder Date: Thu, 3 Oct 2024 16:35:57 -0400 Subject: [PATCH] add build and release workflow --- .github/workflows/build-and-release.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index a88895e..7b32060 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -14,20 +14,13 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] steps: - # 1. Checkout the repository + # Get dependencies - name: Checkout code uses: actions/checkout@v3 - name: Get Ninja uses: seanmiddleditch/gha-setup-ninja@master - - name: run-vcpkg - if: matrix.os == 'windows-latest' - uses: lukka/run-vcpkg@v11.5 - with: - vcpkgJsonGlob: 'vcpkg.json' - - # 2. Set up the environment - name: Set up CMake uses: jwlawson/actions-setup-cmake@v1 with: @@ -36,6 +29,13 @@ jobs: - name: Install Qt uses: jurplel/install-qt-action@v4 + - name: run-vcpkg + if: matrix.os == 'windows-latest' + uses: lukka/run-vcpkg@v11.5 + with: + vcpkgJsonGlob: 'vcpkg.json' + vcpkgGitCommitId: 'c82f74667287d3dc386bce81e44964370c91a289' + ## Windows Build ## # Install OpenCV via vcpkg - name: Install OpenCV via vcpkg if: matrix.os == 'windows-latest' @@ -59,7 +59,7 @@ jobs: -DCMAKE_TOOLCHAIN_FILE=%cd%\vcpkg\scripts\buildsystems\vcpkg.cmake ^ -DCMAKE_BUILD_TYPE=Release - + ## End Windows Build ## # Linux setup - name: Install dependencies on Linux if: matrix.os == 'ubuntu-latest'