Skip to content

Commit

Permalink
Use 3 cores and only cache build dir
Browse files Browse the repository at this point in the history
  • Loading branch information
adamant-pwn committed Jun 5, 2024
1 parent f4319f2 commit 63e1001
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ jobs:
context: .
load: true
tags: ghcr.io/${{ steps.repo_owner.outputs.owner }}/build_test:latest
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
BUILDKIT_INLINE_CACHE=1

- name: Extract build directory from Docker image
run: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY . /rawhash2

RUN mkdir -p build && cd build \
&& cmake .. \
&& make -j 2
&& make -j 3

ENTRYPOINT ["./build/bin/rawhash2"]

Expand Down

0 comments on commit 63e1001

Please sign in to comment.