From 32898ccfc85566c34948521a2cb53ea3a375847f Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Thu, 7 Oct 2021 11:07:47 -0700 Subject: [PATCH] use cached dependency file instead of vcpkg --- .github/workflows/ci.yml | 45 ++++------------------------------------ 1 file changed, 4 insertions(+), 41 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5810d194..6c0ba912f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -168,50 +168,13 @@ jobs: - name: Enable Developer Command Prompt (Windows) uses: ilammy/msvc-dev-cmd@v1 - - name: Set up vcpkg and restore cache - uses: lukka/run-vcpkg@v7 - with: - vcpkgGitCommitId: 2a31089e777fc187f1cc05338250b8e1810cfb52 - vcpkgTriplet: x64-windows - vcpkgArguments: qt5 ffmpeg openexr openimageio opencolorio portaudio - - # We require the Unicode fix which hasn't been merged into upstream yet - - name: Acquire OpenColorIO + - name: Acquire Dependencies shell: bash working-directory: ${{ runner.workspace }} run: | - $VCPKG_ROOT/vcpkg remove opencolorio:x64-windows - git clone https://github.com/olive-editor/OpenColorIO - cd OpenColorIO - git checkout win32-unicode-fix - mkdir build - cd build - cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -G "${{ matrix.cmake-gen }}" \ - -DCMAKE_TOOLCHAIN_FILE="$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake" \ - -DCMAKE_INSTALL_PREFIX="$(pwd -W)/install" - ninja install - echo "$(pwd -W)/install" >> $GITHUB_PATH - echo "$(pwd -W)/install/bin" >> $GITHUB_PATH - dir $(pwd -W)/install/bin - - # Should write a package script for this some day - - name: Acquire OpenTimelineIO - shell: bash - working-directory: ${{ runner.workspace }} - run: | - git clone --depth 1 https://github.com/PixarAnimationStudios/OpenTimelineIO.git - cd OpenTimelineIO - mkdir build - cd build - cmake .. -DOTIO_PYTHON_INSTALL=OFF -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -G "${{ matrix.cmake-gen }}" \ - -DCMAKE_TOOLCHAIN_FILE="$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake" \ - -DCMAKE_INSTALL_PREFIX="$(pwd -W)/install" - ninja install - mkdir -p install/bin - mv install/lib/*.dll install/bin - echo "$(pwd -W)/install" >> $GITHUB_PATH - echo "$(pwd -W)/install/bin" >> $GITHUB_PATH - dir $(pwd -W)/install/bin + $DOWNLOAD_TOOL https://github.com/olive-editor/vcpkg-registry/releases/download/continuous/olive-dep-x64-windows.zip + 7z x olive-dep-x64-windows.zip + echo "VCPKG_ROOT=$(pwd -W)"/vcpkg-* >> $GITHUB_ENV - name: Acquire Google Crashpad shell: bash