mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
meta: persist sccache daemon until end of build workflows
PR-URL: https://github.com/nodejs/node/pull/61639 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
d568a1bb53
commit
447fb9a0b5
6 files changed
+6
-1
No files matched your search
@@ -69,6 +69,7 @@ jobs:
|
||||
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
|
||||
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
|
||||
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
|
||||
SCCACHE_IDLE_TIMEOUT: '0'
|
||||
steps:
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
|
||||
@@ -39,6 +39,7 @@ env:
|
||||
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
|
||||
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
|
||||
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
|
||||
SCCACHE_IDLE_TIMEOUT: '0'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -39,6 +39,7 @@ env:
|
||||
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
|
||||
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
|
||||
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
|
||||
SCCACHE_IDLE_TIMEOUT: '0'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -36,10 +36,10 @@ env:
|
||||
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
|
||||
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
|
||||
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
|
||||
SCCACHE_IDLE_TIMEOUT: '0'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test-internet:
|
||||
if: github.event_name == 'schedule' && github.repository == 'nodejs/node' || github.event.pull_request.draft == false
|
||||
|
||||
@@ -34,6 +34,7 @@ env:
|
||||
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang
|
||||
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++
|
||||
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
|
||||
SCCACHE_IDLE_TIMEOUT: '0'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -48,6 +48,7 @@ jobs:
|
||||
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} gcc
|
||||
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} g++
|
||||
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
|
||||
SCCACHE_IDLE_TIMEOUT: '0'
|
||||
steps:
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user