summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Dubé <159546+serprex@users.noreply.github.com>2026-08-16 16:41:05 +0000
committerGitHub <noreply@github.com>2026-08-16 16:41:05 +0000
commit252f6ffaa1106efaa6ebab7d79d8d6689b0748db (patch)
tree3b0fe0be8bb381e8f7ce80cbfbc67e73e351ea9d
parentbc12521718daf84dbea2a1472cfbef7dba34bf42 (diff)
generate-builds.yml: consistently use max-size 2G, prefer j4 over j3, evict-old-files: job (#7083)
-rw-r--r--.github/workflows/generate-builds.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/generate-builds.yml b/.github/workflows/generate-builds.yml
index 5a4a42809..31221bdf3 100644
--- a/.github/workflows/generate-builds.yml
+++ b/.github/workflows/generate-builds.yml
@@ -17,6 +17,8 @@ jobs:
- name: Configure ccache
uses: hendrikmuhs/ccache-action@v1.2.23
with:
+ max-size: "2G"
+ evict-old-files: job
save: ${{ github.ref_name == github.event.repository.default_branch }}
key: ${{ runner.os }}-otr-ccache-${{ github.ref }}-${{ github.sha }}
restore-keys: |
@@ -33,7 +35,7 @@ jobs:
- name: Generate soh.o2r
run: |
cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release -DSOH_TOOLS_ONLY=ON
- cmake --build build-cmake --config Release --target GenerateSohOtr -j3
+ cmake --build build-cmake --config Release --target GenerateSohOtr -j4
- name: Upload soh.o2r
uses: actions/upload-artifact@v7
with:
@@ -96,6 +98,8 @@ jobs:
- name: Configure ccache
uses: hendrikmuhs/ccache-action@v1.2.23
with:
+ max-size: "2G"
+ evict-old-files: job
save: ${{ github.ref_name == github.event.repository.default_branch }}
key: ${{ runner.os }}-ccache-${{ github.ref }}-${{ github.sha }}
restore-keys: |
@@ -155,7 +159,7 @@ jobs:
- name: Build SoH
run: |
cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_REMOTE_CONTROL=1
- cmake --build build-cmake --config Release -j3
+ cmake --build build-cmake --config Release -j4
(cd build-cmake && cpack -G External)
mv README.md readme.txt