From 5cb984a70f2860286b7da30b35f81c7fac7840d7 Mon Sep 17 00:00:00 2001 From: McMassiveNZ <12842622+McMassiveNZ@users.noreply.github.com> Date: Sun, 29 Jan 2023 22:02:39 +0100 Subject: [PATCH] Update ci.yml Use vcpkg acquired from setup-cpp action --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b716865..f4898d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,8 +70,6 @@ jobs: steps: - name: checkout uses: actions/checkout@v3 - with: - submodules: true - name: cache uses: actions/cache@v3 @@ -100,14 +98,14 @@ jobs: cppcheck: true - name: Boostrap Vcpkg - run: ${{github.workspace}}/external/vcpkg/${{matrix.vcpkg_bootstrap}} -disableMetrics + run: ~/vcpkg/${{matrix.vcpkg_bootstrap}} -disableMetrics - name: Install packaged dependencies - run: ${{github.workspace}}/external/vcpkg/vcpkg install spdlog --triplet ${{matrix.triplet}} + run: ~/vcpkg/vcpkg install spdlog --triplet ${{matrix.triplet}} - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_configuration}} - -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/external/vcpkg/scripts/buildsystems/vcpkg.cmake + -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake - name: Build run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_configuration}}