diff options
author | crupest <crupest@outlook.com> | 2022-01-21 00:06:57 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-21 00:06:57 +0800 |
commit | 83eb8263b1c1970bac4f811fdd2e221df63145e1 (patch) | |
tree | 9887d571af672e4f9eb7be9df47e160e85633858 /.github/workflows/ci.yml | |
parent | 0b6df0807f1b32266e2a206e38dc52ebad52ed96 (diff) | |
download | cru-83eb8263b1c1970bac4f811fdd2e221df63145e1.tar.gz cru-83eb8263b1c1970bac4f811fdd2e221df63145e1.tar.bz2 cru-83eb8263b1c1970bac4f811fdd2e221df63145e1.zip |
...
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c96f7a30..676531a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,9 +12,6 @@ on: - "docs/**" - "**/README.md" -env: - VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/.cache/vcpkg/archives - jobs: macos-build: name: macOS Build @@ -26,7 +23,7 @@ jobs: - name: Restore Cache uses: actions/cache@v2 with: - path: .cache/vcpkg/archives + path: ~/.cache/vcpkg/archives key: vcpkg-${{ runner.os }} - name: Setup Ninja @@ -36,7 +33,6 @@ jobs: - name: Build run: | - mkdir -p ${{ env.VCPKG_DEFAULT_BINARY_CACHE }} cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -S. -Bbuild -G Ninja cmake --build build --config Debug --target all @@ -55,7 +51,7 @@ jobs: - name: Restore Cache uses: actions/cache@v2 with: - path: .cache/vcpkg/archives + path: ~/AppData/Local/vcpkg/archives key: vcpkg-${{ runner.os }} - name: Setup Ninja @@ -65,7 +61,6 @@ jobs: - name: Build run: | - New-Item -ItemType Directory -Force -Path ${{ env.VCPKG_DEFAULT_BINARY_CACHE }} cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -S. -Bbuild -G Ninja cmake --build build --config Debug --target all |