Skip to content

Commit

Permalink
fix ccache for the Node-API unit tests (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev authored Oct 14, 2024
1 parent 4ce12d4 commit 379b4ca
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,13 @@ jobs:
ENGINE: napi
VER: '18'
CPPSTD: c++11
cacheid: -napi
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++11
ASAN: 1
cacheid: -napi-asan
#- SWIGLANG: javascript
# ENGINE: node
# VER: '6'
Expand All @@ -123,56 +125,65 @@ jobs:
CPPSTD: c++14
SWIG_FEATURES: -async -w470
desc: Async
cacheid: -napi-async
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -async -async-locking -DSWIG_NAPI_FULL_LOCKING=1
ASAN: 1
desc: Async+ASAN
cacheid: -napi-async-locked-asan
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -async -async-locking -DSWIG_NAPI_FULL_LOCKING=1
desc: Async w/ locking
cacheid: -napi-async-locked
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -typescript
desc: TypeScript
cacheid: -napi-typescript
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -typescript -async -w470
desc: TypeScript w/ async
cacheid: -napi-typescript-async
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -split
desc: Code splitting
cacheid: -napi-splitting
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -split -async -async-locking -DSWIG_NAPI_FULL_LOCKING=1
desc: Async w/ splitting & locking
cacheid: -napi-splitting-async
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
COMPILER: emscripten
desc: WASM
cacheid: -napi-wasm
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
COMPILER: emscripten
SWIG_FEATURES: -async -async-locking -DSWIG_NAPI_FULL_LOCKING=1
desc: WASM w/ async & locking
cacheid: -napi-wasm-async
- SWIGLANG: lua
- SWIGLANG: lua
VER: '5.3'
Expand Down Expand Up @@ -475,7 +486,7 @@ jobs:
- name: Install CCache
uses: hendrikmuhs/[email protected]
with:
key: ${{ matrix.os || 'ubuntu-20.04' }}-${{ matrix.compiler || 'gcc' }}${{ matrix.GCC }}
key: ${{ matrix.os || 'ubuntu-20.04' }}-${{ matrix.compiler || 'gcc' }}${{ matrix.GCC }}${{ matrix.cacheid }}

# Uncomment to debug via ssh, see https://github.com/mxschmitt/action-tmate
# - name: Setup tmate session
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,56 +99,65 @@ jobs:
CPPSTD: c++14
SWIG_FEATURES: -async -w470
desc: Async
cacheid: -napi-async
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -async -async-locking -DSWIG_NAPI_FULL_LOCKING=1
ASAN: 1
desc: Async+ASAN
cacheid: -napi-async-locked-asan
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -async -async-locking -DSWIG_NAPI_FULL_LOCKING=1
desc: Async w/ locking
cacheid: -napi-async-locked
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -typescript
desc: TypeScript
cacheid: -napi-typescript
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -typescript -async -w470
desc: TypeScript w/ async
cacheid: -napi-typescript-async
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -split
desc: Code splitting
cacheid: -napi-splitting
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
SWIG_FEATURES: -split -async -async-locking -DSWIG_NAPI_FULL_LOCKING=1
desc: Async w/ splitting & locking
cacheid: -napi-splitting-async
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
COMPILER: emscripten
desc: WASM
cacheid: -napi-wasm
- SWIGLANG: javascript
ENGINE: napi
VER: '18'
CPPSTD: c++14
COMPILER: emscripten
SWIG_FEATURES: -async -async-locking -DSWIG_NAPI_FULL_LOCKING=1
desc: WASM w/ async & locking
cacheid: -napi-wasm-async
- SWIGLANG: lua
- SWIGLANG: octave
CPPSTD: c++11
Expand Down Expand Up @@ -243,7 +252,7 @@ jobs:
- name: Install CCache
uses: hendrikmuhs/[email protected]
with:
key: ${{ matrix.os || 'ubuntu-20.04' }}-${{ matrix.compiler || 'gcc' }}${{ matrix.GCC }}
key: ${{ matrix.os || 'ubuntu-20.04' }}-${{ matrix.compiler || 'gcc' }}${{ matrix.GCC }}${{ matrix.cacheid }}

# Uncomment to debug via ssh, see https://github.com/mxschmitt/action-tmate
# - name: Setup tmate session
Expand Down

0 comments on commit 379b4ca

Please sign in to comment.