From 0d41e8002376b707f8c34082c040a2f73e8a4111 Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Mon, 19 Aug 2024 11:50:41 -0600 Subject: [PATCH] install ccache and check bundler path --- .github/workflows/main.yml | 10 +++++----- dev/ci/setup-host | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 59b3411945..fcf21d585a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: with: ruby-version: ${{ env.DEFAULT_RUBY_VERSION }} bundler-cache: true - - run: printenv + - run: printenv && which -a bundle - run: ./dev/ci/setup-host cxx - run: ./dev/ci/run-tests-with-docker cxx if: matrix.os == 'ubuntu-latest' @@ -76,7 +76,7 @@ jobs: with: ruby-version: ${{ env.DEFAULT_RUBY_VERSION }} bundler-cache: true - - run: printenv + - run: printenv && which -a bundle - run: ./dev/ci/setup-host ${{ matrix.integration.label }} - run: ./dev/ci/run-tests-with-docker ${{ matrix.integration.label }} if: matrix.os == 'ubuntu-latest' @@ -112,7 +112,7 @@ jobs: with: ruby-version: ${{ env.DEFAULT_RUBY_VERSION }} bundler-cache: true - - run: printenv + - run: printenv && which -a bundle - run: ./dev/ci/setup-host ${{matrix.lang.name}} - run: ./dev/ci/run-tests-with-docker ${{matrix.lang.name}} if: matrix.os == 'ubuntu-latest' @@ -132,7 +132,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - run: printenv + - run: printenv && which -a bundle - run: ./dev/ci/setup-host homebrew-packaging - run: ./dev/ci/run-tests-natively homebrew-packaging - uses: actions/upload-artifact@v4 @@ -153,7 +153,7 @@ jobs: with: ruby-version: ${{ env.DEFAULT_RUBY_VERSION }} bundler-cache: true - - run: printenv + - run: printenv && which -a bundle - run: ./dev/ci/setup-host source-packaging - run: ./dev/ci/run-tests-with-docker source-packaging - uses: actions/upload-artifact@v4 diff --git a/dev/ci/setup-host b/dev/ci/setup-host index 33be8e7755..85c2d1b114 100755 --- a/dev/ci/setup-host +++ b/dev/ci/setup-host @@ -33,6 +33,8 @@ if [ "${GITHUB_ACTIONS:-false}" = "true" ]; then # Create this file now because otherwise it would be owned by root, run touch test/test.log + brew update + brew install ccache echo fi