diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e3a3f0c5b..6f41b3024 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,6 +65,31 @@ jobs: name: Windows path: build/release/tigervnc*.exe + build-windows-msvc: + runs-on: windows-latest + timeout-minutes: 20 + env: + SOURCE_DIR: ${{github.workspace}}\.cache\source + steps: + - uses: actions/checkout@v4 + - name: Make folder + run: cmake -E make_directory ${{env.SOURCE_DIR}} + - name: run-vcpkg + uses: lukka/run-vcpkg@v11 + with: + vcpkgGitCommitId: f63682b9182187131b564c1395e4ac8ecb0c5ea8 + vcpkgDirectory: ${{env.SOURCE_DIR}}/vcpkg + - name: Configure + run: cmake -DCMAKE_BUILD_TYPE=Debug -S . -B build ^ + -DCMAKE_INSTALL_PREFIX=install ^ + -DCMAKE_TOOLCHAIN_FILE="${{env.VCPKG_ROOT}}/scripts/buildsystems/vcpkg.cmake" + - name: Build + working-directory: build + run: cmake --build . + - name: Install applications + working-directory: build + run: cmake --Install . --component Runtime + build-macos: runs-on: macos-latest timeout-minutes: 20 diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 000000000..f09399efc --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,14 @@ +{ + "name": "tigervnc", + "version-string":"0.0.1", + "dependencies": [ + "zlib", + "openssl", + "libjpeg-turbo", + "libpng", + "pixman", + "ffmpeg", + "nettle", + "fltk" + ] +}