diff --git a/.github/workflows/rc.yml b/.github/workflows/rc.yml index 91d630814..7241981c5 100644 --- a/.github/workflows/rc.yml +++ b/.github/workflows/rc.yml @@ -16,6 +16,7 @@ # under the License. name: RC + on: push: tags: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 04b43986f..652999f61 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -156,10 +156,20 @@ jobs: run: | echo "CC=${{ matrix.CC }}" >> $GITHUB_ENV echo "CXX=${{ matrix.CXX }}" >> $GITHUB_ENV + - name: Setup sccache + if: ${{ startsWith(matrix.runs-on, 'windows') }} + uses: mozilla-actions/sccache-action@9e7fa8a12102821edf02ca5dbea1acd0f89a2696 # v0.0.10 + - name: Enable sccache + if: ${{ startsWith(matrix.runs-on, 'windows') }} + shell: bash + run: echo "SCCACHE_GHA_ENABLED=true" >> "$GITHUB_ENV" - name: Build Iceberg run: | meson setup builddir ${{ matrix.meson-setup-args || '' }} meson compile -C builddir + - name: Show sccache stats + if: ${{ startsWith(matrix.runs-on, 'windows') }} + run: sccache --show-stats - name: Test Iceberg run: | meson test -C builddir --timeout-multiplier 0 --print-errorlogs