Skip to content

Commit

Permalink
No need for vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
kneth committed Feb 1, 2023
1 parent 57eea36 commit 5c97c7b
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/pr-realm-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,6 @@ jobs:
if: ${{ runner.os == 'Windows' }}
uses: ilammy/msvc-dev-cmd@v1

- name: Get vcpkg submodule commit sha
if: ${{ runner.os == 'Windows' }}
id: vcpkg_cache_key
working-directory: vendor/realm-core/tools/vcpkg/ports
shell: bash
run: echo "::set-output name=commit::$(git rev-parse HEAD)"

- name: Setup Vcpkg
if: ${{ runner.os == 'Windows' }}
uses: friendlyanon/setup-vcpkg@v1
with:
path: vendor/realm-core/tools/vcpkg/ports
cache-key: vcpkg-windows-${{ matrix.variant.arch }}-${{ steps.vcpkg_cache_key.outputs.commit }}-${{ hashFiles('./vendor/realm-core/tools/vcpkg/vcpkg.json') }}
cache-restore-keys: vcpkg-windows-${{ matrix.variant.arch }}-${{ steps.vcpkg_cache_key.outputs.commit }}-${{ hashFiles('./vendor/realm-core/tools/vcpkg/vcpkg.json') }}

- name: Refetch Vcpkg
if: ${{ runner.os == 'Windows' }}
run: git fetch --unshallow
working-directory: vendor/realm-core/tools/vcpkg/ports

# ninja-build is used by default if available and results in faster build times
# On linux, electron requires a connected display. We fake this by giving it a headless environment using xvfb
# Relevant issue: https://github.com/juliangruber/browser-run/issues/147
Expand Down

0 comments on commit 5c97c7b

Please sign in to comment.