diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f303b46..a6577963 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,6 +36,17 @@ jobs: - run: rustup target add aarch64-apple-darwin if: matrix.os == 'macos-latest' + - run: wget https://fossies.org/windows/misc/nasm-2.16.01-win64.zip -o C:\Users\runneradmin\AppData\Local\vcpkg\archives\ + if: runner.os == 'Windows' + - name: Set up vcpkg cache + uses: actions/cache@v3 + continue-on-error: false + with: + path: | + C:\Users\runneradmin\AppData\Local\vcpkg\archives\ + key: ${{ runner.os }}-${{ runner.arch }}-vcpkg + restore-keys: ${{ runner.os }}-${{ runner.arch }}-vcpkg- + if: runner.os == 'Windows' - run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append if: runner.os == 'Windows' - run: vcpkg install openssl:x64-windows-static-md