diff --git a/.github/workflows/vcpkg.yml b/.github/workflows/vcpkg.yml index 50b230a4..10be7bba 100644 --- a/.github/workflows/vcpkg.yml +++ b/.github/workflows/vcpkg.yml @@ -24,10 +24,8 @@ jobs: sudo apt-get update sudo apt-get install -y cmake - - name: Select working directory - working-directory: cd examples/cmake - - name: Clone vcpkg + working-directory: cd examples/cmake run: | git clone https://github.com/microsoft/vcpkg.git cd vcpkg @@ -35,17 +33,20 @@ jobs: cd .. - name: Configure and build + working-directory: cd examples/cmake run: | vcpkg/vcpkg install cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE="vcpkg/scripts/buildsystems/vcpkg.cmake" -DVCPKG_OVERLAY_PORTS="../../ports" cmake --build build - name: Run Application + working-directory: cd examples/cmake/build if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' run: | ./realm_helloworld - name: Run Application + working-directory: cd examples/cmake/build if: matrix.os == 'windows-latest' run: | cd build