From 2aa304a29d38cedac0f2bf1a6a0e6980d4e17f2e Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Thu, 24 Nov 2022 02:03:09 -0800 Subject: [PATCH] bump --- .github/workflows/bun-mac-x64.yml | 6 +++++- Dockerfile | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bun-mac-x64.yml b/.github/workflows/bun-mac-x64.yml index c1aa25168e..86c0123736 100644 --- a/.github/workflows/bun-mac-x64.yml +++ b/.github/workflows/bun-mac-x64.yml @@ -263,7 +263,7 @@ jobs: OBJ_DIR: ${{ runner.temp }}/bun-cpp-obj BUN_DEPS_OUT_DIR: ${{runner.temp}}/bun-deps run: | - brew install rust llvm@13 pkg-config coreutils libtool cmake libiconv automake openssl@1.1 ninja gnu-sed pkg-config esbuild --force + brew install rust ccache llvm@13 pkg-config coreutils libtool cmake libiconv automake openssl@1.1 ninja gnu-sed pkg-config esbuild --force echo "export PATH=$(brew --prefix coreutils)/libexec/gnubin:\$PATH" >> $GITHUB_ENV echo "export PATH=$(brew --prefix llvm@13)/bin:\$PATH" >> $GITHUB_ENV brew link --overwrite llvm@13 @@ -297,6 +297,10 @@ jobs: with: name: ${{ matrix.obj }} path: ${{ runner.temp }}/release + - name: ccache (link) + uses: hendrikmuhs/ccache-action@v1.2 + with: + key: ${{ runner.os }}-ccache-${{ matrix.tag }}-link - name: Link env: CPU_TARGET: ${{ matrix.cpu }} diff --git a/Dockerfile b/Dockerfile index 46853d70c9..865a2899cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -214,7 +214,7 @@ ENV CCACHE_DIR=/ccache WORKDIR $BUN_DIR -RUN --mount=type=cache,target=/ccache make oniguruma && rm -rf src/deps/oniguruma Makefile +RUN --mount=type=cache,target=/ccache cd ${BUN_DIR} && make oniguruma && rm -rf src/deps/oniguruma Makefile FROM bun-base as tinycc @@ -253,7 +253,7 @@ WORKDIR $BUN_DIR ENV CCACHE_DIR=/ccache -RUN --mount=type=cache,target=/ccache make boringssl && rm -rf src/deps/boringssl Makefile +RUN --mount=type=cache,target=/ccache cd ${BUN_DIR} && make boringssl && rm -rf src/deps/boringssl Makefile FROM bun-base as uws