mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-21 14:55:27 -04:00
generate-builds.yml: consistently use max-size 2G, prefer j4 over j3, evict-old-files: job (#7083)
This commit is contained in:
@@ -17,6 +17,8 @@ jobs:
|
|||||||
- name: Configure ccache
|
- name: Configure ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.23
|
uses: hendrikmuhs/ccache-action@v1.2.23
|
||||||
with:
|
with:
|
||||||
|
max-size: "2G"
|
||||||
|
evict-old-files: job
|
||||||
save: ${{ github.ref_name == github.event.repository.default_branch }}
|
save: ${{ github.ref_name == github.event.repository.default_branch }}
|
||||||
key: ${{ runner.os }}-otr-ccache-${{ github.ref }}-${{ github.sha }}
|
key: ${{ runner.os }}-otr-ccache-${{ github.ref }}-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
@@ -33,7 +35,7 @@ jobs:
|
|||||||
- name: Generate soh.o2r
|
- name: Generate soh.o2r
|
||||||
run: |
|
run: |
|
||||||
cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release -DSOH_TOOLS_ONLY=ON
|
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
|
- name: Upload soh.o2r
|
||||||
uses: actions/upload-artifact@v7
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
@@ -96,6 +98,8 @@ jobs:
|
|||||||
- name: Configure ccache
|
- name: Configure ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.23
|
uses: hendrikmuhs/ccache-action@v1.2.23
|
||||||
with:
|
with:
|
||||||
|
max-size: "2G"
|
||||||
|
evict-old-files: job
|
||||||
save: ${{ github.ref_name == github.event.repository.default_branch }}
|
save: ${{ github.ref_name == github.event.repository.default_branch }}
|
||||||
key: ${{ runner.os }}-ccache-${{ github.ref }}-${{ github.sha }}
|
key: ${{ runner.os }}-ccache-${{ github.ref }}-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
@@ -155,7 +159,7 @@ jobs:
|
|||||||
- name: Build SoH
|
- name: Build SoH
|
||||||
run: |
|
run: |
|
||||||
cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_REMOTE_CONTROL=1
|
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)
|
(cd build-cmake && cpack -G External)
|
||||||
|
|
||||||
mv README.md readme.txt
|
mv README.md readme.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user