File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,24 +31,13 @@ jobs:
3131 - name : Clone Repo
3232 uses : actions/checkout@v6
3333
34- - name : Install Node
34+ - name : Setup Node
3535 uses : actions/setup-node@v6
3636 with :
3737 node-version : lts/*
3838 architecture : ${{ matrix.arch }}
3939
40- - name : Setup sccache
41- uses : hendrikmuhs/ccache-action@v1.2.20
42- with :
43- variant : sccache
44- create-symlink : ${{ runner.os != 'Windows' }}
45- update-package-index : false
46- key : ${{ matrix.os }}-${{ matrix.arch }}-sccache
47-
4840 - name : Compile
49- env :
50- CMAKE_CXX_COMPILER_LAUNCHER : sccache
51- CMAKE_C_COMPILER_LAUNCHER : sccache
5241 run : npm ci
5342
5443 - name : Copy Prebuild
@@ -66,13 +55,13 @@ jobs:
6655 name : Publish
6756 runs-on : ubuntu-latest
6857 needs : prebuild
69- # if: startsWith(github.ref, 'refs/tags/')
58+ if : startsWith(github.ref, 'refs/tags/')
7059
7160 steps :
7261 - name : Clone Repo
7362 uses : actions/checkout@v6
7463
75- - name : Install Node
64+ - name : Setup Node
7665 uses : actions/setup-node@v6
7766
7867 - name : Download Artifacts
8170 path : prebuilds
8271 merge-multiple : true
8372
84- - name : List
85- run : tree
86-
8773 - name : NPM Install
8874 run : npm ci
8975
Original file line number Diff line number Diff line change 11set (CMAKE_POSITION_INDEPENDENT_CODE ON )
22
3- find_program (SCCACHE_PROGRAM sccache )
4- message (STATUS "SCCACHE_PROGRAM = ${SCCACHE_PROGRAM} " )
5- if (SCCACHE_PROGRAM)
6- set (CMAKE_C_COMPILER_LAUNCHER ${SCCACHE_PROGRAM} )
7- set (CMAKE_CXX_COMPILER_LAUNCHER ${SCCACHE_PROGRAM} )
8- endif ()
9-
103if (SPRITESHEETC_STATIC)
114 add_library (spritesheetc STATIC spritesheetc.cpp )
125else ()
You can’t perform that action at this time.
0 commit comments