From 0778c03e82de539cd310eaaef370b0a9fc942daf Mon Sep 17 00:00:00 2001 From: Snider Date: Thu, 21 Mar 2024 17:15:40 +0000 Subject: [PATCH] gha runner git clone recursive --- .github/workflows/cli-testnet.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cli-testnet.yml b/.github/workflows/cli-testnet.yml index 33a60345..e992fbb9 100644 --- a/.github/workflows/cli-testnet.yml +++ b/.github/workflows/cli-testnet.yml @@ -26,8 +26,13 @@ jobs: - os: windows-2019 - os: macos-13 - os: ubuntu-latest + env: + CCACHE_TEMPDIR: ${{ github.workspace }}/ccache steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + submodules: recursive - uses: ilammy/msvc-dev-cmd@v1 with: arch: amd64 @@ -45,6 +50,16 @@ jobs: - name: Install autotools on macOS run: brew install automake if: ${{ matrix.os == 'macos-13' }} + - uses: actions/cache@v3 + with: + path: ${{ github.workspace }}/ccache + key: ccache-${{ runner.os }}-build-testnet-cli + restore-keys: ccache-${{ runner.os }}-build-testnet-cli + - uses: actions/cache@v3 + with: + path: ${{ github.workspace }}/ccache + key: ccache-${{ runner.os }}-build-testnet-cli + restore-keys: ccache-${{ runner.os }}-build-testnet-cli - name: Install Conan run: pip install conan pytest && conan --version - name: Setup CMake and Ninja