diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index d737abc..3b2fe60 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -12,6 +12,8 @@ env: jobs: build-windows: runs-on: windows-latest + permissions: + packages: write steps: - name: Checkout code @@ -21,10 +23,9 @@ jobs: - name: Setup vcpkg uses: lukka/run-vcpkg@v11 - - - name: Install dependencies with vcpkg - run: | - vcpkg install opencv4:x64-windows eigen3:x64-windows glfw3:x64-windows glm:x64-windows libiconv:x64-windows + with: + vcpkgTriplet: "x64-windows" + vcpkgBinaryCaching: 'nuget,GitHub,readwrite' - name: Configure CMake run: | diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 0000000..d11a037 --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "theeye", + "version-string": "0.6", + "dependencies": [ + "opencv4", + "eigen3", + "glfw3", + "glm", + "libiconv" + ], + + "builtin-baseline" : "4334d8b4c8916018600212ab4dd4bbdc343065d1" +}